PDA

View Full Version : how to customize toolbar item overflow layout



mylok
9 Feb 2015, 12:10 PM
My toolbar item have big icon and text in normal mode, when overflow I want to hide (remove) the icon and only show the text. Is there any way I can set it up in configs?
Thanks.

suzuki1100nz
10 Feb 2015, 12:48 AM
Few problems here.

1/. What do you want to achieve? When you mention overflow are you referring to the text?

2/. Are you saying if you cant fit the icon and text (no ellipses) then you dont want the icon?

3/. Where is your sample code or test case?

mylok
10 Feb 2015, 10:51 AM
Thank for reply.
When re size the window, the toolbar items (button in my case) that don't fit are added to an overflow menu attached to an overflow button to the right, extjs framework automatic put the icon + text.
I like to customize this layout either remove the icon (only show text) or re size the icon to fix the overflow layout.