View Full Version : set fixed width
15 Apr 2010, 9:01 AM
How can I set the center region of layout:'border', width to be fixed
and not resizable.
15 Apr 2010, 2:06 PM
I don't think you can resize the various regions (at runtime, anyway ; at design time anything goes right now) if the split attribute of the Ext.layout.BorderLayout properties isn't checked.
Is it checked in your case and have you tried unchecking it?
15 Apr 2010, 4:55 PM
The center region of a border layout by its nature is not fixed width.
It will stretch to accommodate the rest of the area available to it. (minus the east and west regions).
Eladi, if you post a sketch or screenshot of the layout you are trying to achieve we may be able to better advise you as to what layout you really want. I suspect maybe you want an hbox layout.
16 Apr 2010, 2:40 AM
I need 3 panels (west center & east) such that the west panel will be collapsible and when it closed the center panel width stay the same (just move left) and only the east panel width increase.
Can I use the border layout to implement this or maybe I should use another layout? and how.
18 Apr 2010, 9:01 AM
There are some limitations with this approach, but see if this helps.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.