1. #1
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Answers
    3
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default Unanswered: Problems with tab panel in a window

    Unanswered: Problems with tab panel in a window


    So I have this code
    PHP Code:
    Ext.create("Ext.window.Window", {
        
    resizabletrue,
        
    width400,
        
    height390,
        
    x400,
        
    y200,
        
    layout'fit',
        
    items: [
            
    Ext.create('Ext.tab.Panel', {
                
    //width: 300,
                //height: 300,
                //renderTo: document.body,
                
    items: [{
                    
    title'Foo',
                    
    html"HELLO"
                
    }, {
                    
    title'Bar',
                    
    tabConfig: {
                        
    title'Custom Title',
                        
    tooltip'A button tooltip'
                    
    }
                }]
            })
        ]
    }).
    show(); 
    This is what it creates

    screen.png

    The tabpanel code I got from the docs. As you can tell, the tabs don't appear and there is no top bar to the window. It also won't resize. I've tried changing the height, but that did nothing.
    I can't imagine this is a bug, so I must be missing something.
    What am I doing wrong?
    word

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    It would seem that there's more to it than that - if you drop that code into one of the inline examples' code editors on the api docs it runs fine.

    What version of the framework are you using?

  3. #3
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Answers
    3
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default


    Never mind. ...it works now. I'm not sure why it didn't.
    word

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi