PDA

View Full Version : [FIXED] Toolbar on Accordion



art.home.ext
24 Oct 2012, 12:47 PM
Hello,

I'd like to add a top toolbar to an 'accordion' Panel. It seems impossible within SA

1 - I unsuccessfully tried to drag and drop a toolbar from SA toolbox (which seems to be allowed accordingly to drop zone icon). But nothing happened.

2 - I tried to build a new Panel with 'auto' layout then add a toolbar. This is OK but when a try to change layout from 'auto' to 'accordion', SA says "Can't set to accordion with direct chidren that are not panels"

3 - I've only managed adding a toolbar by adding attribute 'tbar' to my panel, change its type to array [{xtype: 'button',text: 'Button 1'}]. And it works !

Now I'm wondering if it is a BUG, a limitation or is it unrecommended ?

Thank you

aconran
24 Oct 2012, 12:56 PM
Moved to bugs, this is indeed a bug in Architect.