bug-gnustep
[Top][All Lists]
Advanced

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

[bug #36155] [gui] NSPopupbutton text centered


From: Eric Wasylishen
Subject: [bug #36155] [gui] NSPopupbutton text centered
Date: Thu, 12 Apr 2012 16:20:35 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3

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/




reply via email to

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