-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi there,
I have a zul file that brings in windows to give a 3 column interface with a bar at the top and bottom:
<window title="topbar" vflex="min">
<include src="heading.zul" />
</window>
<window title="contentAs3Columns" vflex="1">
<borderlayout>
<center hflex="1" autoscroll="true">
<include src="centerContent.zul" />
</center>
<west hflex="min" border="none" collapsible="true" splittable="true" maxsize="300">
<include src="leftBar.zul" />
</west>
<east hflex="min" border="none" collapsible="true" splittable="true" maxsize="300">
<include src="rightBar.zul" />
</east>
</borderlayout>
</window>
<window title="bottomBar" vflex="min">
<include src="footer.zul" />
</window>
I need both the left and right bars to be as small as possible, just big enough to hold their content.
When I use this code, the leftBar takes up the entire content area, letting you see the header and footer, but not the centerContent or rightBar.
Any ideas what's going wrong? Thanks! =)
You can use stylesheet for each zul file. Like in centerContent.zul,we have <window> tag.
<window contentStyle="overflow:auto">
</window>
or
<window contentStyle="overflow:scroll">
</window>
You can get scroll in you page and same you can do for other pages.
Asked: 2013-03-12 20:08:00 +0800
Seen: 63 times
Last updated: Mar 13 '13