1. #1
    Sencha User
    Join Date
    Jan 2012
    Location
    Rennes - France
    Posts
    172
    Answers
    2
    Vote Rating
    1
    Thierryg is on a distinguished road

      0  

    Default Unanswered: problem to display a toolbar and a list inside a box

    Unanswered: problem to display a toolbar and a list inside a box


    Hi,

    Because of problems with my navigation's view, i have hidden the topbar.

    Then i have decided to create a toolbar and a list inside my vbox.

    Before i have tested the list with success but when i have added the toolbar, only this one is shown.

    On the console, i have the following log from sencha touch #2 :
    [DEPRECATE][Ext.Base#callParent] 'dock' config for docked items is deprecated, please use 'docked' instead

    Any idea of the problem ?

    Here is my source code :

    Code:
            var liveview = Ext.create("Ext.NavigationView",
            {
                fullscreen: true,
                id:         'liveid',
                items:
                [
                    // ----- 0 : Live listing -----
                    {
                        title: 'LstLive',
                        layout: 'vbox',
                        padding: 10,
                        items:
                        [
                            // ----- Top bar -----
                            {
                                xtype:  'toolbar',
                                docked: 'top',
                                ui:     'light',
                                items:
                                [
                                    {         
                                        dock:  'top',
                                        xtype: 'toolbar',
                                        title: 'LIVE'
                                    }
                                ]
                            },
                            // ----- Live profile's name -----
                            {
                                title:   _strings_live_liveprofilelisting[dmngConfig.deviceLanguageID],
                                xtype:   'list',
                                itemTpl: '{name} (delay:{delay})',
                                store:   LiveProfileStore,
                                listeners:
                                {
                                    itemtap: function(record, index)
                                    {               
                                        //console.log("record="+record+" - index="+index);
                                        //console.log(record);
                                        console.log("[LIVE] id="    + dmngConfig.liveProfile[index].id);
                                        console.log("[LIVE] name="  + dmngConfig.liveProfile[index].name);
                                        console.log("[LIVE] delay=" + dmngConfig.liveProfile[index].delay);
                                        localStorage['liveprofileid']    = dmngConfig.liveProfile[index].id;
                                        localStorage['liveprofilename']  = dmngConfig.liveProfile[index].name;
                                        localStorage['liveprofiledelay'] = dmngConfig.liveProfile[index].delay;
                                        liveview.push(2);
                                    }
                                }
                            }
                        ]
                    }
      ]
    };
    liveview.getNavigationBar().hide();
    Attached Images

  2. #2
    Sencha User jsveron23's Avatar
    Join Date
    Feb 2011
    Location
    Seoul, Korea
    Posts
    78
    Answers
    1
    Vote Rating
    1
    jsveron23 is on a distinguished road

      0  

    Default


    dock ->> docked

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