Re: plain white boxes/views
Re: plain white boxes/views
- Subject: Re: plain white boxes/views
- From: August Trometer <email@hidden>
- Date: Tue, 14 Feb 2006 22:31:50 -0500
Yes, what you need to do is subclass NSBox and override the drawRect:
method to get the effect you're looking for.
-- August
On Feb 14, 2006, at 7:59 PM, Mike Abdullah wrote:
In one of my windows, I have a number of controls inside an NSBox.
However, I want this box to display it's background as pure white
rather than its usual pinstriped grey. What is the easiest way of
achieving this? Does it require a full subclass of NSBox or NSView?
For more of an idea of what I'm aiming at, fire up Garageband and
have a look at the window that appears when there is no project
open. This white effect is what I'm aiming for.
Thanks,
Mike A.
_______________________________________________
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
_______________________________________________
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