I have a component that I want to align to the right but would like to bring it back just a little bit…
me.dockedItems = [ {
xtype: 'toolbar',
dock: 'top',
items:
[{
text: i18n.user_new,
disabled: false,
action: 'add',
iconCls: 'icon-user-add'
},
'->', // is there a way to say align right minus 20px?
{
fieldLabel: i18n.filter,
labelWidth: 40,
xtype: 'filterfield'
}],
...
What do I change the ‘->’ to?
The best way (IMO) is to specify a margin: