Re: Getting the background colour for NSBox?
Re: Getting the background colour for NSBox?
- Subject: Re: Getting the background colour for NSBox?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 13 Sep 2004 12:48:11 -0400
Andreas Mayer (email@hidden) on Mon, Sep 13, 2004 03:43 said:
>> [textView setBackgroundColor:[NSColor windowFrameColor]];
>[...]
>> How do I get the NSColor for the background colour of an NSBox?
>
>Um... why not make the background transparent?
>
>[textView setBackgroundColor:[NSColor clearColor]];
Thanks for the suggestion Andreas, but this does not seem to result in a
transparent background, but instead gives a black square! Somewhat
surprising to me.
Any other ideas?
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