-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi to everybody, I am new to both this forum and ZK. I am experiencing some problems with windows scrollbar. Here an example:
<zk> <window style="overflow-y:auto;"> <borderlayout height="500px"> <north> <tabbox mold="accordion" height="330px"> <tabs> <tab label="Menu 1" /> <tab label="Menu 2" /> <tab label="Menu 3" /> </tabs> <tabpanels> <tabpanel> <menubar orient="vertical"> <menuitem label="Menuitem 1" /> <menuitem label="Menuitem 2" /> </menubar> </tabpanel> <tabpanel> <menubar orient="vertical"> <menuitem label="Menuitem 1" /> <menuitem label="Menuitem 2" /> <menuitem label="Menuitem 3" /> </menubar> </tabpanel> <tabpanel> <menubar orient="vertical"> <menuitem label="Menuitem 1" /> <menuitem label="Menuitem 2" /> </menubar> </tabpanel> </tabpanels> </tabbox> </north> <south size="20%"> <window height="30px"> <grid> <columns> <column /> <column /> </columns> <rows> <row> <label value="Name:" /><textbox /> </row> <row> <label value="Surname:" /><textbox /> </row> </rows> </grid> </window> </south> </borderlayout> </window> </zk>
I also tried with style="overflow:auto;", contentStyle="overflow-y:auto;" and other settings but none of them would work.
Does anybody have any suggestion?
P.S. I'm using ZK 3.6.2 and I have the same problems on Firefox 3 and IE 7.
Edit: sorry for the title but I couldn't edit it
Have a look at this thread.
Take a <div style="overflow:auto"> around the window like Dhana shows you.
regards
Stephan
Hmmmmmmm, what is the problem ??
If i run the zul-file in my application so it shows the scrollbar if i made the browser smaller.
Stephan
I am sorry but the bar does not appear if I shrink the browser window. Maybe the problem is due to the fact that I am including the .zul file in a west section of another one.
Anyway I tried with style="overflow-y:scroll" and in this way a scrollbar appears on the right, but there is nothing inside that can be moved.
Asked: 2009-07-27 17:26:54 +0800
Seen: 274 times
Last updated: Jul 28 '09