PDA

View Full Version : xtype tbspacer width issue



Xander75
17 Jun 2010, 7:08 AM
Hi,

I have a toolbar with a label, combobox and a tbseparator, label & another combobox. My problem is that the first combobox is displayed over the separator and second label.

I have tried adding adding a tbspacer xtype: {xtype: 'tbspacer', width: 50} but I noticed that the width value is not updating and is always displaying as the default 2px. Therefore the spacer does not appear to be working.

Code:



tbar: [
thisApp.exportButton,
thisApp.printButton,
{xtype: 'tbseparator'},
new Ext.form.Label({
text: 'Forecast Category: '
}),
cboForecastCategory,
{xtype: 'tbspacer', width: 50},
{xtype: 'tbseparator'},
new Ext.form.Label({
text: 'Forecast Type: '
}),
cboForecastViewType
]
I am using v3.2.1, anyone got any insight into why the width is now working?