Community
Participate
Working Groups
Buttons are not picking up the correct default font. This can be seen by comparing the font of a normal sized button in ControlExample against a button with the same text in another Cocoa application. Specifically, it looks like it's about 1 pixel too small. To reproduce: 1. Launch Safari 2. Choose Preferences, then select the Appearance tab. Note the appearance of the Select... button. 3. Launch ControlExample 4. Use the 'Set/Get API" button to change the text of the buttons to "Select...". 5. Compare the buttons in Control Example to the button Safari. The text in SWT buttons is one pixel smaller than standard buttons. It's just enough of a difference that you notice something isn't quite right.
Created attachment 176850 [details] Fix Use systemFontSizeForControlSize with the current control size instead of the default button font, which isn't right.
Created attachment 176853 [details] reworked patch Better patch.
(In reply to comment #2) > Better patch. Actually, it's the same patch. I thought I saw a regression but did not.
Fixed > 20100830.