NSBox With Colored Background And Border
NSBox With Colored Background And Border
- Subject: NSBox With Colored Background And Border
- From: Matt Bauer <email@hidden>
- Date: Sun, 10 Oct 2004 21:13:25 -0500
I'm looking for information on how to color the background of an NSBox
while keeping its borders. What I'm looking to obtain in the end is a
display area that is similar to that of the calculator application.
The problem is every time I call setContentView with my colored view I
lose the borders. Well I don't actually lose the borders. My colored
view ends up is as large as the NSBox rect and draws over the border.
I've also tried adding my colored view to the NSBox using the interface
builder and then trying to send it to the back. This unfortunately
also displayed over the border. Is there a tutorial or a good NSBox
resource out there? Has someone else tried this and willing to share?
Thanks,
Matt Bauer
_______________________________________________
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