it’s EXT JS 4.
A simple question,
how do i align items in layout column?
layout:'column',
border: false,
items:
[
{
columnWidth:.5,
xtype: 'label',
text: 'item 1'
},
{
columnWidth: .5,
xtype: 'label',
text: 'item 2'
}
]
All I need is just align the ‘item 1’ to the right, and ‘item 2’ to the left. So, they’ll be meet in the center.
Just using ‘align:right’ isn’t work.
Any suggestion?
Try this: