Skip to main content



      Home
Home » Eclipse Projects » GEF » ZoomComboContributionItem Toolbar Height(Item too small for toolbar)
icon5.gif  ZoomComboContributionItem Toolbar Height [message #1745074] Tue, 04 October 2016 14:47 Go to next message
Eclipse UserFriend
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 04:03 Go to previous messageGo to next message
Eclipse UserFriend
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 14:34 Go to previous message
Eclipse UserFriend
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: Sat Aug 30 19:36:43 EDT 2025

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

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

Back to the top