Getting the background colour for NSBox?
Getting the background colour for NSBox?
- Subject: Getting the background colour for NSBox?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 13 Sep 2004 02:40:28 -0400
I'm trying to make an NSTextView that looks like an NSTextField, that is:
no border, no background colour, single line high, etc. After a lot of
messing about, I'm almost there. In fact, it's fine if the NSTextView is
in the window itself if I do this:
[textView setBackgroundColor:[NSColor windowFrameColor]];
But my NSTextView is a subview of an NSBox, which has a slightly darker
grey stripe kind of look (10.3.5). I've looked in NSColor and tried
every color in the 'developer' list of the colour picker but none are right.
How do I get the NSColor for the background colour of an NSBox?
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden