PDA

View Full Version : Align Panel items to right



dijksvi
13 Oct 2010, 12:10 AM
Hi,

I'm trying to create my button bar based on a panel in which I drop buttons as items. I would like to know how to make sure these buttons are aligned to the right of the panel.

I consider using the "buttons:" on the panel, but this puts them in the fbar section which is below the panel (something I don't want.

Any help on the horizontal alignment of items in a panel is welcome.

Thanks,

Vincent

Condor
13 Oct 2010, 12:44 AM
You can use a fill to align buttons to the right on a toolbar, e.g.

tbar: [
{text: 'Button Left'},
'->',
{text: 'Button Right'}
]