1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    164
    Vote Rating
    9
    Answers
    13
    in4p will become famous soon enough

      0  

    Default Unanswered: Adding titlebar to list

    Unanswered: Adding titlebar to list


    I'm having issues adding a titlebar to my list.

    The code below (with items commented out) works - the list is displayed. When I uncomment the other lines, I see the titlebar but no list. I'm sure there's an easy solution to this. Please help and thanks!

    Code:
    Ext.define("MyApp.view.Main", {
        extend: 'Ext.tab.Panel',
        requires: ['Ext.TitleBar', 'Ext.Video'],
        
        config: {
            tabBarPosition: 'bottom',
            items: [
                {
                    title: 'Get Started',
                    iconCls: 'action',
                    
                    //items: [
                        /*{
                            docked: 'top',
                            xtype: 'titlebar',
                            title: 'Getting Started'
                        },*/
                        //{
                            xtype: 'templist'
                        //}
                    //]
                }
            ]
        }
    });

  2. #2
    Sencha User Olivierco's Avatar
    Join Date
    Nov 2011
    Location
    Paris - France
    Posts
    65
    Vote Rating
    -1
    Answers
    3
    Olivierco is an unknown quantity at this point

      0  

    Default


    hi,try to directly add you xtype: 'titlebar' inside you new component templist. as you did it:
    { docked: 'top', xtype: 'titlebar', title: 'Getting Started' }

Thread Participants: 1

Tags for this Thread