Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 262758 - Buttons are a bit small with small fonts
Summary: Buttons are a bit small with small fonts
Status: CLOSED DUPLICATE of bug 251460
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 263562 276835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-28 09:35 EST by Pascal Rapicault CLA
Modified: 2010-08-23 17:15 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2009-01-28 09:35:11 EST
I really like the support for small fonts. However buttons now look a bit small.
Comment 1 Felipe Heidrich CLA 2009-01-28 10:24:25 EST
Silenio, can you make this better by adding some extra trim during compute size ?
Comment 2 Scott Kovatch CLA 2009-01-28 13:15:24 EST
Unfortunately the height of the bezel on push buttons (more specifically, buttons with the type NSRoundedBezelStyle) is fixed in Cocoa, depending on the control size. This is different from Carbon, where the button stretched to fill the control.

One possibility would be to change the bezel style of SWT.PUSH and SWT.TOGGLE buttons to NSRegularSquareBezelStyle when the size of the button is calculated to be greater than the height of a 'standard' button.

Take a look at the HI guidelines for buttons at <http://developer.apple.com/documentation/userexperience/Conceptual/AppleHIGuidelines/XHIGControls/chapter_19_section_3.html> for more details.
Comment 3 Kevin Barnes CLA 2009-02-04 12:37:18 EST
*** Bug 263562 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Barnes CLA 2009-05-19 10:21:52 EDT
*** Bug 276835 has been marked as a duplicate of this bug. ***
Comment 5 Scott Kovatch CLA 2009-07-10 14:32:54 EDT
Also see 251460.
Comment 6 Scott Kovatch CLA 2010-08-23 17:15:18 EDT
Fixed with bug 251460.

*** This bug has been marked as a duplicate of bug 251460 ***