Project: SWT
Bug 177578 ExpandItem (of the ExpandBar) returns wrong header height in Gnome (Debian Linux)
Reported: 2007-03-15 11:58:27 | Status: resolved fixed

Build ID: M20060921-0945 Steps To Reproduce: Compare the value returned by ExpandItem#getHeaderHeight() to what it really is in the GUI. More information: For me ExpandItem#getHeaderHeight() returns 17px, while it's actually 21px (I made a screenshot and counted the pixels myself). I need the header height to calculate the available space in order to "maximize" an ExpandItem. When I compensate the difference, my calculations work as expected (like they do in Windows without the compensation). And no, I did not forget ExpandBar#getSpacing().

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java