개발/html
gsjava extjs 가로 정렬시 버튼 한칸 띄우기
철권
2023. 8. 11. 09:19
728x90
가로 정렬 버튼 한카 띄우기
Add a spacer component (flex 1) that will fill up any remaining space:
{
xtype: 'panel',
layout: 'hbox',
border: false,
items: [{
xtype: 'displayfield',
value: 'Type:',
margin: '0 10 0 0'
}, {
xtype: 'radio',
boxLabel: 'Type A',
tag: null,
margin: '0 10 0 0'
}, {
xtype: 'radio',
boxLabel: 'Type B',
tag: null,
}, {
xtype: 'component',
flex: 1
}, {
xtype: 'button',
iconCls: 'myclsIcon'
}]
}
728x90
반응형