Results 1 to 2 of 2

Thread: Managing East and West region sizes without hardcoded widths?

  1. #1
    Sencha User
    Join Date
    Nov 2010

    Default Managing East and West region sizes without hardcoded widths?

    I seem to be confused with sizing my west region of my border layout viewport. My west region is a normal panel containing an extended treepanel. In my normal panel I set autoWidth: true, and everything seemed fine (the west panel was a manageable width). However, adding a top toolbar to my extended treepanel causes the west region to take up all of the screen, even with only one button in the toolbar.

    No combination of autoWidths seem to bring it back to a manageable size (which makes sense I guess because the toolbar is stretching to 100% of the panel). The only way I have been able to bring the west panel to an appropriate width (when the toolbar is there) is by hardcoding a width for the panel.

    Is there any way to make this work decently without hardcoding a width?

  2. #2
    Ext JS Premium Member griffiti93's Avatar
    Join Date
    Mar 2007
    Owasso, OK


    As always, it all depends on your end goal. Are you needing collapsable panels (i.e. border layout)? If you simply need to layout certain panels with dynamic widths, perhaps an "hbox" layout would work better? Maybe you could post some sample code for a closer look.

Similar Threads

  1. Replies: 1
    Last Post: 21 Jul 2008, 4:49 PM
  2. Collapse Icon in East/West region has no padding in IE
    By mprice in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 17 Jun 2008, 6:54 PM
  3. east west region inside tabpanel
    By anilsonawane in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 20 May 2008, 11:52 PM
  4. how you can add a resizeable panel to a east or west region
    By Foggy in forum Community Discussion
    Replies: 0
    Last Post: 9 May 2008, 4:17 AM
  5. Replies: 10
    Last Post: 7 Mar 2007, 2:25 AM

Posting Permissions

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