Re: plain white boxes/views
Re: plain white boxes/views
- Subject: Re: plain white boxes/views
- From: Mike Abdullah <email@hidden>
- Date: Thu, 16 Feb 2006 01:04:28 +0000
Thanks August, I thought it would require that, but I wanted to make
sure I wasn't trying to do things the hard way! In the end, I also
used isOpaque and returned YES to more accurately reflect what the
box does.
Mike.
On 15 Feb 2006, at 03:31, August Trometer wrote:
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