1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    1
    Vote Rating
    0
    jackeychen is on a distinguished road

      0  

    Default Problem when display navigation.View in tab.Panle

    Problem when display navigation.View in tab.Panle


    I created home view like it:

    Code:
    Ext.define("tnews.view.Home", {
        extend: "Ext.tab.Panel",
        alias: "widget.tnewshome",
        requires: ["tnews.view.Landing", "Ext.TitleBar"],
        config: {
            tabBarPosition: "bottom",
            fullscreen: true,
            tabBar: {
                docked: "bottom"
            },
            items: [
                {
                    title: "home",
                    iconCls: "home",
                    items: {
                        xtype:"titlebar",
                        title: "Home page"
                    }
                },
                {
                    title: "What's News",
                    iconCls: "info",
                    items: [{
                        xtype: "tnewslanding"
                    }]
                }
            ]
        }
    });
    The tnewslanding looks like it:

    Code:
    Ext.define("tnews.view.Landing", {
        extend: "Ext.navigation.View",
        alias: "widget.tnewslanding",
        requires:["Ext.dataview.List", "Ext.data.Store"],
        config: {
            navigationBar: {
                docked: "top"
            },
            items: [{
                title: "What's News",
                html: "helloworld",
            }]
        }
    });
    But I can't see "helloworld" When click "What's News" at tab.Panel tab bar.

    Do you know why and help me fix it ?

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    take a look in docs how to use a 'titlebar'

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