1

Scroll bar in a window

asked 2009-04-14 21:43:28 +0800

issamlaabidi gravatar image issamlaabidi
217 2

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

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2009-04-14 21:47:46 +0800

versionfourx gravatar image versionfourx
99 2

One way would be to add:
style="overflow:auto"

link publish delete flag offensive edit

answered 2009-04-14 21:59:08 +0800

issamlaabidi gravatar image issamlaabidi
217 2

sorry i have tried but i still have the same problem ther is any other solution please

link publish delete flag offensive edit

answered 2009-04-15 01:54:15 +0800

hideokidd gravatar image hideokidd
750 1 2

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>

link publish delete flag offensive edit

answered 2013-07-02 22:10:05 +0800

rickcr gravatar image rickcr
704 7

updated 2013-07-02 22:10:26 +0800

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;" ... />
link publish delete flag offensive edit

answered 2013-11-14 14:36:59 +0800

carpolva gravatar image carpolva
155 4

Thanks rickcr, good contribution.

Regards.

link publish delete flag offensive edit

answered 2021-01-05 17:29:34 +0800

YinKai gravatar image YinKai
1

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

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: 2009-04-14 21:43:28 +0800

Seen: 2,325 times

Last updated: Jan 05 '21

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