violinista
5 Jul 2007, 3:53 AM
Hello 2 all,
Is there a way to add textItem to toolbar, but with specified width? I cannot see any config options in textItem, only String. For example, I would like to add:
var label = new Ext.Toolbar.TextItem({
text: 'some text',
minWidth:100
});
I used toolbar.button for this purposes until now. I found it is not so useful, because of button's behaviour - it is clickable ;).
Is there some workaround for this? Thank you.
Is there a way to add textItem to toolbar, but with specified width? I cannot see any config options in textItem, only String. For example, I would like to add:
var label = new Ext.Toolbar.TextItem({
text: 'some text',
minWidth:100
});
I used toolbar.button for this purposes until now. I found it is not so useful, because of button's behaviour - it is clickable ;).
Is there some workaround for this? Thank you.