Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » ToolControl in Toolbar doesn't show up
ToolControl in Toolbar doesn't show up [message #757778] Mon, 21 November 2011 16:06 Go to next message
Andreas Friend
Messages: 1
Registered: November 2011
Junior Member
If I add a ToolControl to a Toolbar in the application model it doesn't show up. However there is a gap at the place where it should be. If I add the same ToolControl directly to the Window Trim it is displayed. Is this a bug or am I missing something?
Re: ToolControl in Toolbar doesn't show up [message #757799 is a reply to message #757778] Mon, 21 November 2011 17:57 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

AFAIK that's a long standing issue. A toolbar with only a separator (with the control set) doesn't return any useful preferred size, and so is not visible. You can either add the ToolControl to the trim directly, or add a command to the toolbar that contains your ToolControl.

PW


Previous Topic:Controlling enable/disable menu of eclipse4.x
Next Topic:use of org.eclipse.core.resources in e4
Goto Forum:
  


Current Time: Wed Apr 24 19:29:34 GMT 2024

Powered by FUDForum. Page generated in 0.03467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top