Results 1 to 3 of 3

Thread: vbox layout problem

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
      0  

    Question vbox layout problem

    i have 2 panels in viewport having
    Code:
    layout: {
                            type: 'vbox',
                           align: 'stretch'
                        },
    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?

    thank you,

  2. #2
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
      0  

    Default

    any body know how to do it

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    119
      0  

    Default

    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

  1. vbox layout and autoScroll
    By alan.buck in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 8 Sep 2010, 4:44 PM
  2. Resizeable Vbox Layout
    By Nesta in forum Ext 3.x: Help & Discussion
    Replies: 21
    Last Post: 23 Aug 2010, 6:39 AM
  3. vbox-layout inside a border-layout with a grid + sizing
    By tobiu in forum Community Discussion
    Replies: 1
    Last Post: 21 Jul 2010, 7:14 AM
  4. Toolbar with VBox layout?
    By arthurakay in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 14 May 2010, 7:14 AM
  5. VBOX Layout Question
    By Bleak in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 20 Apr 2010, 6:53 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •