Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Vote Rating
    18
    James Goddard will become famous soon enough James Goddard will become famous soon enough

      0  

    Default [CLOSED]Tab Panel: Layout Bug

    [CLOSED]Tab Panel: Layout Bug


    When adding a tab to a tabpanel via add, the content is rendered over the tabs as shown below:
    sample1.jpg.

    Here is what I've been able to deduce:
    1. This does not occur if the tab is added in the initial config
    2. Clicking on a new tab in the inner tabpanel cause the layout to correct itself
    3. This will also happen if the tab is of type "panel" as long as it continues to contain sub-items

    Code:
    			Ext.onReady(function() {
    				var panel = new Ext.create ( 'Ext.tab.TabPanel', {
    					region: 'center',
    					renderTo: Ext.getBody(),
    					width: 600,
    					height: 350
    				});
    
    				var t = Ext.create ( 'Ext.tab.TabPanel', {
    					title: 'Test 1',
    					items: [{
    						title: 'Test 2',
    						flex: 1
    					}, {
    						title: 'Test 3',
    						flex: 1
    					}]
    				});
    				panel.add (t);
    				panel.setActiveTab (t);

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,115
    Vote Rating
    507
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    A TabPanel must use a card layout, it's assumed in various places throughout the code.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Vote Rating
    18
    James Goddard will become famous soon enough James Goddard will become famous soon enough

      0  

    Default


    Actually the hbox was a leftover from testing it with a panel. It fails without the hbox and with a panel instead of a tab panel for the inner item.

    This will also happen if the tab is of type "panel" as long as it continues to contain sub-items

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,115
    Vote Rating
    507
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    In this case it looks as though it's since been resolved. Should see it in the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. [CLOSED]removeAll from a panel with a table layout
    By rspaeth in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 28 Jun 2010, 1:07 AM
  2. Replies: 1
    Last Post: 30 Jun 2009, 2:27 PM
  3. Replies: 6
    Last Post: 4 Mar 2009, 11:31 AM
  4. [2.2][CLOSED] Re-collapse right panel / grid layout
    By Gunmen in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 21 Aug 2008, 10:05 PM
  5. How to detect if a Border Layout Panel is open or closed?
    By johnnycannuk in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 3 Jul 2007, 7:21 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar