bug-gnustep
[Top][All Lists]
Advanced

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

Re: [bug #36155] [gui] NSPopupbutton text centered


From: Gregory Casamento
Subject: Re: [bug #36155] [gui] NSPopupbutton text centered
Date: Fri, 20 Apr 2012 12:12:54 -0400

Eric,

I agree with the change you've made.

I understand that the default is currently to center the text.  I'm
wondering if it would make sense to left align the text by default
since this would avoid weirdness in existing apps.  I'm hoping Fred
may chime in on this point.

In Gorm I need to add a control to NSPopUpButton's inspector allow
setting the alignment. :)

GC

On Thu, Apr 12, 2012 at 12:20 PM, Eric Wasylishen
<INVALID.NOREPLY@gnu.org> wrote:
> Follow-up Comment #1, bug #36155 (project gnustep):
>
> My fix for bug https://savannah.gnu.org/bugs/?35702 caused this...
>
> Before that fix NSPopUpButton was hardcoded to always left-align the labels.
> Now it draws the label in the available space, and since it uses the standard
> -[NSCell _drawText:inFrame:] method, now -[NSCell alignment] should determine
> whether the text is left, center, or right aligned. I think this is correct,
> so check one of the popup buttons showing centered text and see if -alignment
> returns NSCenterTextAlignment.
>
>    _______________________________________________________
>
> Reply to this item at:
>
>  <http://savannah.gnu.org/bugs/?36155>
>
> _______________________________________________
>  Message sent via/by Savannah
>  http://savannah.gnu.org/
>
>
> _______________________________________________
> Bug-gnustep mailing list
> Bug-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-gnustep



-- 
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com



reply via email to

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