1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Question Answered: Why does only the first tab display?

    Answered: Why does only the first tab display?


    Why does only the first tab display?

    view/Main.js:
    Code:
    Ext.define('MyTest.view.Main', {
        extend: 'Ext.tab.Panel',
    
    
        config: {
            fullscreen: true,
            tabBarPosition: 'bottom',
    		ui: 'light',
            items: [
            {
                title: 'First',
                html: '<p>one</p>',
                iconCls: 'info',
                cls: 'card card1'
            },
            {
                title: 'Second',
                html: '<p>two</p>',
                iconCls: 'info',
                cls: 'card card2',
            },
            {
                title: 'Third',
                html: '<p>three</p>',
                iconCls: 'info',
                cls: 'card card3',
            }
            ]
        },
    
    
        init: function() {
            console.log('Main init:');
        }
    });
    controller/MyController.js:
    Code:
    Ext.define('MyTest.controller.MyController', {
        extend: 'Ext.app.Controller',
    
    
        views: [
            'Main'
        ],
    
    
        init: function() {
    		console.log('MyController init:');
    		this.getMainView().create();
        }
    });
    app.js:
    Code:
    Ext.Loader.setConfig({ enabled: true });
    
    
    Ext.application({
        name: 'MyTest',
        
        controllers: ['MyController'],
        models     : [],
    });

  2. Not sure if I'm right in saying this, but I was under the impression Firefox is not a Webkit browser and so wont display Touch apps correctly, whereas Chrome is Webkit hence it works just fine.

    Correct me if I am wrong anyone.

  3. #2
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Post


    Here's a ZIP of my test project:

    http://dl.dropbox.com/u/32618163/mytest.zip

    Just drop it into the "examples" directory in the ST 2.x distribution.

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Default


    Answer: The problem occurs on Firefox 7.0.1 but not Chrome on OSX Lion.

    Sencha - You can reproduce this with your own "audio" example in examples/audio.

  5. #4
    Sencha User
    Join Date
    Jun 2009
    Posts
    398
    Answers
    1
    Vote Rating
    2
    parky128 is on a distinguished road

      0  

    Default


    Not sure if I'm right in saying this, but I was under the impression Firefox is not a Webkit browser and so wont display Touch apps correctly, whereas Chrome is Webkit hence it works just fine.

    Correct me if I am wrong anyone.

  6. #5
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Answers
    4
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Default


    Makes sense. Thanks. I didn't realize that.

Thread Participants: 1

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