[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22278] Nib reading issues with System fonts and button borders

From: Nicolas Roard
Subject: [bug #22278] Nib reading issues with System fonts and button borders
Date: Mon, 10 Mar 2008 01:16:35 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv: Gecko/20071025 Camino/1.5.3

Follow-up Comment #9, bug #22278 (project gnustep):

It seems to me that the correct behaviour would be to:
- handle the different button styles, in that they have to be recognised by
the nib loading mechanism and by -gui (that's the case at the moment), and
their drawing delegated to the proper UI theme method 
- in the theme code, have different methods for the different styles that a
theme can implements. By default all style simply call the square button theme
method (with the appropriate margin difference as iirc there is a margin with
NSRoundedBezelStyle buttons while there is no margin with
NSRegularSquareBezelStyle buttons)
- for the NeXT theme, there is NO rounded button. Therefore I think it would
make more sense to, basically, discard the rounded buttons and draw them
square, using the method exposed above. Other themes may or may not implement
a different look between square buttons and rounded buttons. 

Make sense ?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]