PDA

View Full Version : TabBar dock button on the left side of tabs



MrGreen
5 Jul 2011, 12:56 PM
I have a panel with three tabs and when I add a button to the TabBar it shows up by default on the right side of tabs. I need to place the button on the left side of tabs. I have tried a few things but nothing seems to be working.

MrGreen
6 Jul 2011, 7:13 AM
ok I figured this out, I had to use deckedItems instead of just items for tabBar config options



tabBar:{
dockedItems:[{
xtype: 'button',
ui: 'round',
text: 'Round',
dock: 'left'
}]
},
]