-
FEATURED COMPONENTS
First time here? Check out the FAQ!
i want to add scroll bar to a window how i can do this please because when i have many elements in it i can not see all them. thanks
One way would be to add:
style="overflow:auto"
sorry i have tried but i still have the same problem ther is any other solution please
Hi,
From firebug I found a way to overwrite setting, please try
<zk> <style> .windowStyle .z-window-embedded-cnt, .z-window-embedded-body, .z-window-overlapped-body, .z-window-popup-body, .z-window-highlighted-body, .z-window-modal-body{ overflow:auto; } </style> <window title="test window" height="100px" border="normal" sclass="windowStyle"> <button label="test btn" height="200px" /> </window> </zk>
An old post I know, but found it while searching for making a window scrollable.
Adding contentStyle="overflow:auto;" to the window element works...
<window contentStyle="overflow:auto;" ... />
I found a way to do it for all window tags :
.z-window-content{
overflow: auto;
}
Instead of putting overflow: auto
in each window tag, you could add this in your .zuss file, which makes all window tags have scrollbar
Asked: 2009-04-14 21:43:28 +0800
Seen: 2,325 times
Last updated: Jan 05 '21