Bala
Bala

Reputation: 136

Multiple Buttons of Toolbar in Sencha Touch

i need to intimate the user that toolbar contains the scroll bar and there is some more buttons in the toolbar. Any sample code for the issue.

thanks in advance...

Upvotes: 0

Views: 754

Answers (1)

Yevhen
Yevhen

Reputation: 186

You may try something like this (in Sencha Touch 2):

var toolbar = Ext.create('Ext.Panel', {
     id: 'meetingList',
     flex: 1,
     scrollable: {direction: 'horizontal', indicators: false},
     defaults: {width: 200},
     items: [{
        xtype: 'button',
        text: 'Button1'
     },{
        xtype: 'button',
        text: 'Button2'
     },
     ....
    ]
});

Upvotes: 1

Related Questions