Project: SWT
Bug 226229 Carbon Text widgets cannot be properly center-aligned when style is SWT.SEARCH
Reported: 2008-04-09 03:07:20 | Status: resolved fixed

It appears that when the style is SWT.SEARCH, there is extra padding that is applied to the height of the widget which doesn't seem to be very useful. I have a snippet and a patch.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java