View Full Version : buttongroup closable?

26 Aug 2009, 5:43 AM
Why doesn't the buttongroup play nice with the closable parameter?
It would work well with the toolbar "ribbon" design if i could close buttongroups.

I end up toggling them on/off in a menu, but It would still be nice to be able to close them.

26 Aug 2009, 5:49 AM
What happens when you try? It extends Panel, so it should be doable.

It's just that the header's CSS makes it a bit small to accommodate the regular tool. Perhaps the TabPanel's close tool could be used.

26 Aug 2009, 5:53 AM
it just doesnt render the close button at all.
Im gonna see if i can get it to show with the "tools" parameter

26 Aug 2009, 6:10 AM
Doesn't put anything at all in the header, or doesn't show you anything?

IIRC, it's done with CSS.

26 Aug 2009, 6:12 AM
Ah, I see. It put's nothing in the header in response to closable: true...


26 Aug 2009, 6:14 AM
Of course that's a config of Window, not Panel. It will be the tools config (and possibly toolTemplate) that you'll want.