NSButtonCell title alignment
NSButtonCell title alignment
- Subject: NSButtonCell title alignment
- From: Greg Hamilton <email@hidden>
- Date: Thu, 29 May 2003 12:52:27 +1000
Hello
I'm creating an NSMatrix of NSButtonCells following the example of the
calendar matrix in the O'Reilly book.
I want to highlight specific NSButtonCells by changing the colour of
the button title.
To do this I use setAttributedTitle passing in the title and
attributes, such as font, size and colour.
Unfortunately the cell text alignment seems to be ignored for the cells
with attributed titles, the attributed titles are left aligned while
all other cells are centre aligned.
Has anybody else seen this problem ?
Greg Hamilton
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.