Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ZoomComboContributionItem Toolbar Height(Item too small for toolbar)
icon5.gif  ZoomComboContributionItem Toolbar Height [message #1745074] Tue, 04 October 2016 18:47 Go to next message
Chris So is currently offline Chris SoFriend
Messages: 3
Registered: October 2016
Junior Member
Hey guys and girls,

hope you can help me find out whether the following behavior is a bug in GEF, in Eclipse or in our plugin.

We have added a ZoomCombo to the top main toolbar in eclipse.
The code for inserting the control in an EditorActionBarContributor looks like this:
@Override
	public void contributeToToolBar(IToolBarManager manager) {
		super.contributeToToolBar(manager);
		manager.add(new Separator());
		manager.add(new ZoomComboContributionItem(getPage()));
	}


On Windows installations, we face some issues with the toolbar height. index.php/fa/27299/0/
With this height, the zoom level is really hard to read and we want to fix it. We could ship a custom theme maybe, but maybe someone has a better idea how to solve the issue because the control surprisingly looks okay under different Linux systems.

Maybe someone here in the forum knows the problem.
Thanks in advance Smile
Re: ZoomComboContributionItem Toolbar Height [message #1745187 is a reply to message #1745074] Thu, 06 October 2016 08:03 Go to previous messageGo to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 231
Registered: July 2009
Location: L√ľnen
Senior Member
This sounds like an SWT issue. I would recommend to create some "pure" SWT example that can be used to reproduce it and then file a bug against SWT.
Re: ZoomComboContributionItem Toolbar Height [message #1745370 is a reply to message #1745187] Sat, 08 October 2016 18:34 Go to previous message
Chris So is currently offline Chris SoFriend
Messages: 3
Registered: October 2016
Junior Member
First thanks for your answer Alexander.
I looked for a similar SWT issue and found this (#183003), which is quite old.
I will try the workaround and also try to make a minimal example.
Previous Topic:GEF-based editors are crashing on latest GTK
Next Topic:[GEF4/Zest]Performance issues with larger graphs
Goto Forum:
  


Current Time: Sun Apr 22 13:00:11 GMT 2018

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

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