tags:

views:

12

answers:

1

how can i set attributes of NSFontPanel, like color, bold etc ?

A: 

Colors are actually not in the font panel, are they? The font can be changed with this method:

- (void)setPanelFont:(NSFont *)aFont isMultiple:(BOOL)flag

See here.

Max Seelemann
yeah color panel is also included in fonalpanel..
Richa Vijayvargiya
You mean the `NSColorPanel`? That is separate...
Max Seelemann
Yeah.NSColorPanel is different..I am saying that I have option to change color of font in NSFontPanel.
Richa Vijayvargiya
Yep. But changing this heavily depends on the context you're in. You need to concretize your question then...
Max Seelemann