0

vflex="min" not working on nested tabpanel?

asked 2010-05-06 01:23:10 +0800

windeyu gravatar image windeyu flag of United States
288 3

I've been playing with vflex="min". It works well until I nested a tabpanel inside a borderlayout. The computed height of tabpanel got chopped off. Is it a bug? I'm working against zk 5.0.2 freshly build.

My main zul:

<window vflex="min">
	<borderlayout vflex="min">
		<north vflex="min">

			<tabbox vflex="min">
				<tabs vflex="min">
					<tab label="Tab 1" vflex="min"/>
				</tabs>
		
				<tabpanels vflex="min">
					<tabpanel vflex="min">
					
						<include src="grid.zul" />

					</tabpanel>
				</tabpanels>
			</tabbox>
		</north>
	</borderlayout>
</window>

My grid.zul
<grid hflex="min" vflex="min">
	<rows>
		<row>
			<label value="File:"/>
			<textbox width="98%"/>
		</row>
		<row>
			<label value="Type:"/>
			<hbox>
				<listbox rows="1" mold="select">
					<listitem label="Java Files,(*.java)"/>
					<listitem label="All Files,(*.*)"/>
				</listbox>
				<button label="Browse..."/>
			</hbox>
		</row>
		<row>
			<label value="Options:"/>
			<textbox rows="3" width="99%"/>
		</row>
	</rows>
</grid>

Thanks in advance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-05-06 15:18:14 +0800

windeyu gravatar image windeyu flag of United States
288 3

I post the bug report. Thanks.
https://sourceforge.net/tracker/?func=detail&aid=2997862&group_id=152762&atid=785191

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-05-06 01:23:10 +0800

Seen: 368 times

Last updated: May 06 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More