-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
i have a question about Borderlayout. I set the west-Area to "collapsible="true". I will show/hide the west-Area in my controller and when i hide the west-Area then should not a frame is displayed left. The west-Area should be 0px.
Can someone help me?
Andi
hi. you cannot change width center-area. you can use east-area instead of center-area then you can re-size as your choice.
hi, the center component will use the rest size, so, I think, the issue you mention doesn't fix the borderlayout's spec ? so maybe you need to consider to use different component for layout instead of borderlayout
I still have another Problem..
My App runs on iphone. The witdh from iphone is 320px. When i set the west-Area (Menu) to "210px" the center-area resize to the rest of Pixel. This is not good because my tabbox with grids resize and does not look nice. Is it possible to freeze the center-Area during the west-Area is open?
Thanks for help!
store before do 0px
int width = west.getWidth();
west.setWidth("0px");
reset after click 'restore'
west.setWidth(width + "px");
best
Stephan
When is set to "setvisible = false" then the slide-effect is not shown. I will place a toolbarbutton in the header of the center-Area and then in the Controller i will show/hide the west-Area when the Toolbarbutton is clicked. How can i do this in the controller. My App runs on iphone and i have no space to show the west-Area if it is not needed.
You can setvisible = false if you do not want to display
If you set the west-Area to '0px' how you will get it back to the original width?
west.setWidth("0px");
Asked: 2012-12-09 16:57:56 +0800
Seen: 105 times
Last updated: Jan 07 '13