0

Scrollbar Portallayout

asked 2010-05-04 04:21:09 +0800

amodes gravatar image amodes
75 2

updated 2010-05-04 08:00:36 +0800

Hello.

I want to scroll the content of the tabbox when content is to big or i resize the browserwindow.
When i resize my window, i can scroll vertical, but i need a horizontal scrollbar to.
Is there a bug in the code below?
Thanks.


<zk>
<window id=" " width="100%" height="100%" title="">

<tabbox tabscroll="true" height="100%" width="100%">
<tabs style="border-bottom: none;">
<tab label="Portal" visible="true"/>
</tabs>

<tabpanels>
<tabpanel style="overflow:auto;">
<portallayout style="position:relative; padding:15px; border: normal">
<portalchildren style="padding: 0px 20px 0px 0px;" width="auto">
<panel title="welcome" border="normal" collapsible="false" closable="false" maximizable="false"
height="200px" width="400px" visible="true" style="padding-bottom: 20px;">
<panelchildren>
</panelchildren>
</panel>
</portalchildren>

<portalchildren style="padding: 0px 20px 0px 0px;" width="600px">
<panel title="" border="normal" collapsible="false" closable="false" maximizable="false"
height="200px" width="600px" style="padding-bottom: 20px;">
<panelchildren>
<div style="border-bottom: 1px solid #ABA799;"></div>
<div sclass="ds-panel">

</div>
</panelchildren>
</panel>

<panel title="" border="normal" collapsible="false" closable="false" maximizable="false"
height="200px" width="600px" style="padding-bottom: 20px;">
<panelchildren>
<div style="border-bottom: 1px solid #ABA799"></div>
<div sclass="ds-panel">
<label value=""/>
<toolbarbutton/>
</div>
</panelchildren>
</panel>
</portalchildren>
</portallayout>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-05-04 22:14:06 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi amodes
You can set the maximal width in all of children panel to the portallayout
you can try

<portallayout style="position:relative; padding:15px; border: normal" width="600px">

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: 2010-05-04 04:21:09 +0800

Seen: 497 times

Last updated: May 04 '10

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