Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 393726 - [GTK3] Views tabs are too tall
Summary: [GTK3] Views tabs are too tall
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.3 M4   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-11-06 17:39 EST by Silenio Quarti CLA
Modified: 2012-11-16 10:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2012-11-06 17:39:14 EST
1) Run eclipse on GTK3 (export org.eclipse.swt.gtk3=1)

Note that the views tabs are taller than they should be. Happens on Fedora 17 and Ubuntu 12.04.
Comment 1 Silenio Quarti CLA 2012-11-14 12:54:55 EST
This is happening because computeSize() for the CTabFolder chevron tool bar is too big when the chevron is not visible. The chevron has no image or text until it is shown.   In this case, the toolbar is using the icon size to determine its preferred size which we set to GTK_ICON_SIZE_LARGE_TOOLBAR to fix bug#382812. Bug#382812 does not happen on GTK 3 so the fix is to set the icon size to GTK_ICON_SIZE_SMALL_TOOLBAR.

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=eacb643a2084a943e492a6d2e0b869a5541e3c3c