-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello everyone,
I have bit of a problem and I hope you guys can help me...
I have a zul with a borderlayout east, and center
on the center there's an include
That include has the following:
<window width="100%" height="99%"> <caption width="99%"> <hbox width="99%"> <div align="left"> <toolbarbutton id="save" /> <separator orient="vertical"/> <toolbarbutton id="cancel"/> </div> <div align="right"> <label id="Name"/> </div> </hbox> </caption> <div align="left" width="100%" height="99%"> <include id="interInclude" height="99%"/> </div> </window>
And the src of id="interInclude" is this:
<window width="100%"> <tabbox width="100%"> <tabs id="tabs"> <tab /> <tab /> <tab /> </tabs> <tabpanels id="tabPanels"> <tabpanel> <include /> </tabpanel> <tabpanel> <include /> </tabpanel> <tabpanel> <include /> </tabpanel> </tabpanels> </tabbox> </window>
The problem is that the scrollbar are appearing outside of the tabbox and it is very unconfortable because when you scroll down you stop seeing the tabs, so you gotta scroll up again to change tabs.
I was wondering how could I prevent the scrollbars from appearing outside of the tabbox, and making them appear inside of the tabpanel instead.
Could you please help me?
Thank you
judacoor
I would like to know how achieve this too
Some components (e.g. Listbox, Grid, Textbox, etc) have built-in scrollbar.
You can try to use a Grid (single cell) to enclose others component inside the panel.
The scroll bar will be showed inside the panel if the component size was greater than the Grid.
It can be done easily with vflex. Please refer to this.
thankyou luislealp, thats solution solve my problem.
I see the scroll bars in Firefox but not in IE 8.0.6001.18702CO. When I run my the browser on the Server machine (running windows server) with IE version 8.0.7601.17514, the scroll bars look ok. Anyone else having with IE versions, or running the browser on the desktop vs server?
Hi manishchadha,
I have seen problems of object rendering in IE. Firefox and Safari normally work fine. However, IE tends to show objects with slight differences, mainly when it comes to width recalculation. That being said, the scrollbars always appear.
This is not the proper forum topic to post such question. This topic is about scrollbar inside a tabpanel. Yours is a different issue.
I encourage you to look for a more appropriate post, or to post a new topic of your own, to address your issue.
Have a great day.
Asked: 2009-10-13 04:11:23 +0800
Seen: 5,489 times
Last updated: Dec 05 '12