View Full Version : hideMode = visibility does not work in toolbar textitem

9 Jun 2011, 1:51 PM
I have set the hideMode to visibility for a toolbar textitem, but when the item is hidden it collapses completely rather than reserving the same and hiding the contents.

9 Jun 2011, 3:59 PM
Component's hide calls hide() on its Element.

The visibilityMode of the Element is set to match the Component's hideMode at renderTime.

There should probably be a setHideMode method which updates it, but for now you can just set the visiblilityMode on the Element.

10 Jun 2011, 6:42 AM
I am setting hideMode: 'visibility', in the config of the textitem but it still does not display properly.