Sencha container 오른쪽 정렬하기

2024. 12. 19. 19:13Javascript/Sencha

{
    xtype: 'container',
    layout: {
        type: 'hbox', // Horizontal layout
        pack: 'end', // Aligns child items to the right
    },
    items: [
        { xtype: 'button', text: 'Button 1' },
        { xtype: 'button', text: 'Button 2' },
    ],
}