-
15 Dec 2010 5:07 AM #1
vbox layout problem
vbox layout problem
i have 2 panels in viewport having
top panel is collapsible , so my question is when i collapse top panel why 2'nd panel below not auto fits himself in available region it always stuck to its original position ,this behavior achieved in border layout by default, why its not working for vbox layout?Code:layout: { type: 'vbox', align: 'stretch' },
thank you,
-
19 Dec 2010 9:27 PM #2
-
19 Dec 2010 11:55 PM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
The vbox container isn't notified of the child item collapse.
You will need to call container.doLayout() from the expand and collapse handlers of the child items.
Similar Threads
-
vbox layout and autoScroll
By alan.buck in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 8 Sep 2010, 4:44 PM -
Resizeable Vbox Layout
By Nesta in forum Ext 3.x: Help & DiscussionReplies: 21Last Post: 23 Aug 2010, 6:39 AM -
vbox-layout inside a border-layout with a grid + sizing
By tobiu in forum Community DiscussionReplies: 1Last Post: 21 Jul 2010, 7:14 AM -
Toolbar with VBox layout?
By arthurakay in forum Ext 3.x: Help & DiscussionReplies: 10Last Post: 14 May 2010, 7:14 AM -
VBOX Layout Question
By Bleak in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 20 Apr 2010, 6:53 AM


Reply With Quote