-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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>
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">
Asked: 2010-05-04 04:21:09 +0800
Seen: 497 times
Last updated: May 04 '10