Skip navigation.
 
mlNSForm bug?
FROM : Ben Einstein
DATE : Mon May 12 05:13:54 2008

I've been playing with NSForm the first time. I'm quite surprised that 
I can easily change the font of the cell (title or value) but I can't 
easily change the color as you can with plain ole' NSTextField(Cell). 
Anyway, no big deal right? There are the attributedStrings methods. A 
little but unsure why it's implemented this way, but I used it 
nonetheless. After setting the attributed title with my fancy new 
color, the alignment of the cells shifts from right to left and cannot 
be changed with either NSForm's method or the single NSFormCell method.

Is this a bug? I can change it with the paragraph style of the 
attributed string, but that seems like a bit of a hassle. I feel like 
the alignment should be whatever has been set last, the form or the 
string.

Related mailsAuthorDate
No related mails found.