-
19 Nov 2011 6:27 PM #1
Calling 'removeAll()' on a toolbar removed the toolbar Title
Calling 'removeAll()' on a toolbar removed the toolbar Title
Calling 'removeAll()' on a toolbar removes the toolbar Title. Trying to set the title after that does not work (the title stays invisible).
The title is also removed if you call 'removeAt(0)' on a toolbar with no items. The same thing happens if you try 'setTitle()' on it afterwards.
I've also noticed that if you set a title and an item, the title seems to be pushed out of center.Twitter: lylepratt
-
21 Nov 2011 1:38 AM #2
Hi.
Yes actually that happens because in ST 2, has been developed a new component named "Ext.Title" and placed as the first item inside the Toolbar Component.
Thank you for reporting this.Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata
-
21 Nov 2011 9:16 AM #3
In my opinion this shouldn't be specified as a bug. The removeAll method clearly states all immediate children will be removed, not excluding docked items. Perhaps it would be more appropriate to add a method like removeUndocked to the abstract component that would only remove items that are not docked rather than changing the behavior of removeAll.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1070
in
2.0.


Reply With Quote