Results 1 to 4 of 4

Thread: tabpanel with border region fixed

  1. #1
    Sencha User
    Join Date
    Jan 2010
    Posts
    91
    Vote Rating
    0
      0  

    Default tabpanel with border region fixed

    Hi, i have a tabpanel.
    Each panel has a border layout.
    I need that the east region, doesnt change when i move to another tab. So the east region will be the same always, and when i change to another tab, the center and west region change.

    Any advice?

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    133
      0  

    Default

    Create a border layout with an east region and the tabpanel as the center region. Now the tabs only need to contain a center and west region.

  3. #3
    Sencha User
    Join Date
    Jan 2010
    Posts
    91
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by Condor View Post
    Create a border layout with an east region and the tabpanel as the center region. Now the tabs only need to contain a center and west region.
    Thanks Condor, the problem is that i want the tabs to start from the left margin of the window. If i create a border layou with ant east region and the tab panel to center and east, the tabs will render besides the left column.

    Are there any way to create a tab panel at the center region and shows the from the window margin?
    Thanks

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    133
      0  

    Default

    That would require some extra code:

    Make the east layout a layout:fit panel and put your normal east panel inside it. On tab change remove your panel from the east panel on the old tab (with autoDestroy false!) and add it again to the east panel on the new tab (and call doLayout).

Similar Threads

  1. border layout, center region hides west region
    By epalm in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 1 Apr 2010, 8:43 AM
  2. Replies: 16
    Last Post: 11 Jun 2009, 5:36 AM
  3. [FIXED] south border region expandable broken
    By gslender in forum Ext GWT: Bugs (1.x)
    Replies: 8
    Last Post: 13 Jun 2008, 10:23 AM
  4. Don't want border of a layout region
    By wavel in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 26 Feb 2007, 9:17 PM

Posting Permissions

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