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.


Previous Topic:E4 application accessibility question
Next Topic:use of org.eclipse.core.resources in e4
Goto Forum:

Current Time: Mon Apr 23 23:29:40 GMT 2018

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

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