1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2011
    Vote Rating
    gctram is on a distinguished road


    Default Dynamically resize/hide panel size in border layour

    I have 2 panels, thumbnail panel in the "west" and a viewer panel in the "center" regions of a border layout. Based on a config, I want to remove the thumbnail panel and make sure the viewer panel takes up that area as well.
    Am able to set the width and height correctly but viewer panel does not occupy the whole area since it is in the west region. Which layout should I use in this scenario ?

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Vote Rating
    varunach is on a distinguished road



    try layout : 'fit'

Similar Threads

  1. Dynamically adjust panel size in a border layout
    By gctram in forum Ext: Discussion
    Replies: 0
    Last Post: 17 Apr 2011, 9:50 PM
  2. Replies: 2
    Last Post: 16 Aug 2010, 10:47 AM
  3. Replies: 3
    Last Post: 22 Jun 2009, 6:03 AM
  4. Um... Hide center panel in border layout
    By thejoker101 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 16 May 2007, 8:50 PM

Thread Participants: 1

Tags for this Thread