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
2010-08-27 10:09:42
yeah color panel is also included in fonalpanel..
Richa Vijayvargiya
2010-08-27 10:19:58
You mean the `NSColorPanel`? That is separate...
Max Seelemann
2010-08-27 10:22:35
Yeah.NSColorPanel is different..I am saying that I have option to change color of font in NSFontPanel.
Richa Vijayvargiya
2010-08-27 10:36:26
Yep. But changing this heavily depends on the context you're in. You need to concretize your question then...
Max Seelemann
2010-08-27 11:09:15