0

an ex

asked 2009-07-27 17:26:54 +0800

network09 gravatar image network09
132 3

updated 2009-07-27 17:36:57 +0800

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

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-07-27 17:35:13 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-27 17:36:09 +0800

Have a look at this thread.

Take a <div style="overflow:auto"> around the window like Dhana shows you.

regards
Stephan

link publish delete flag offensive edit

answered 2009-07-27 17:39:42 +0800

network09 gravatar image network09
132 3

Thank you for your advice but it doesn't solve my problem

link publish delete flag offensive edit

answered 2009-07-27 18:07:44 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-27 18:08:35 +0800

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

link publish delete flag offensive edit

answered 2009-07-28 08:36:18 +0800

network09 gravatar image network09
132 3

updated 2009-07-28 09:07:24 +0800

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.

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-07-27 17:26:54 +0800

Seen: 274 times

Last updated: Jul 28 '09

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