Success! Looks like we've fixed this one. According to our records the fix was applied for
a recent build.
Touch Premium Member
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.
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.
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.