[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] MacOS X: Text field too shallow, only part of each character is displayed

Hello,

I am working with SWT 3.2.1 on a cross-platform app.
On MacOS X, text input fields (instances of org.eclipse.swt.widgets.Text)
are not sized as expected: they are wide enough, but too shallow
(i.e. too short in the y direction). Only a part of each letter is 
displayed.
The height of the text fields is computed as FontMetrics.getFontHeight() + 
3.
That yields text fields which look OK (displaying whole letters) on
Windows and Linux. I can send a screenshot if it would help.

Thanks for any advice.

Robert Dodier