Results 1 to 5 of 5

Thread: set fixed width

  1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    4
    Vote Rating
    0
      0  

    Default set fixed width

    How can I set the center region of layout:'border', width to be fixed
    and not resizable.


  2. #2
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    409
    Vote Rating
    238
      0  

    Default

    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?

  3. #3
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    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.
    Aaron Conran
    @aconran

  4. #4
    Ext User
    Join Date
    Apr 2010
    Posts
    4
    Vote Rating
    0
      0  

    Default

    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.

  5. #5
    Sencha User abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    407
    Vote Rating
    25
      0  

    Default Getting creative

    There are some limitations with this approach, but see if this helps.
    Attached Images Attached Images
    Attached Files Attached Files

Posting Permissions

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