Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Contributed toolbar not resizing(Toolbar on main coolbar not resizing when children become not visible.)
Contributed toolbar not resizing [message #741583] Wed, 19 October 2011 13:24
Craig Foote is currently offline Craig Foote
Messages: 195
Registered: July 2009
Senior Member
We have an RCP application with a plugin that declares a "menus" extension with a "menuContribution" of a Toolbar with several child commands - buttons on the toolbar. Some of those commands are referenced with a "visibleWhen" of "checkEnabled=true" that hides them when their handler isn't enabled.

I don't know if it's by design or something we're not doing correctly (or a bug?) but when those buttons are hidden, their toolbar doesn't resize. That toolbar is one of several contributed so the result is blank areas within the toolbar. I believe it would be neater if the toolbar resized to remove those blanks.

Any ideas?
Craig
Previous Topic:Show a particular PreferencePage?
Next Topic:Search word under cursor
Goto Forum:
  


Current Time: Mon Jul 28 08:40:12 EDT 2014

Powered by FUDForum. Page generated in 0.02006 seconds