On 21 Jun 2010, at 18:18, Kyle Sluder wrote: > On Sat, Jun 19, 2010 at 6:06 PM, Richard Langly > <richard.ringo.lan...@gmail.com> wrote: >> I have an NSView in a *.nib file. I'm trying to change the background >> color in it to match the unified toolbar metal color (not exactly sure >> what the name of that color is either). >> >> My controller to this view calls initWithNibName:, but other than >> that, I don't see where or how I can change the color to this view. > > NSView doesn't have the concept of a background color, because it > doesn't do any drawing. You'll have to do your drawing in your > override of -drawRect:.
Or use an NSBox set to a custom color. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com