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 11:06 Go to next message
Andreas
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 12:57 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6857
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 Jul 23 12:24:02 EDT 2014

Powered by FUDForum. Page generated in 0.01665 seconds