-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi there,
I am using the zkdemo as my application starting point. I move the tree out to its own menu.zul file. Then, I use <?component>:
<?component name="menu" macroURI="menu.zul"?> .... <west title="Menu Demo" size="320px" splittable="true" minsize="150" maxsize="500" collapsible="true"> <menu/> </west>
or I use <include>
... <west....> <include src="menu.zul"/> ....
In either case, the vertical scroll bar indicates there's nothing to scroll. There are clearly more items that require scrolling down to see. It seems like the scroll bar is rendered before the macro or include is composed.
Can someone shed some light on this?
My intention is to create a main window with different areas for other zul files to plug into. The menu tree will be dynamically generated inside java.
Hi there,
please invoke setAutoscroll(true);
/robbie
Asked: 2008-12-02 15:28:22 +0800
Seen: 199 times
Last updated: Dec 04 '08