Special Borders
Special Borders
- Subject: Special Borders
- From: Coleman Nitroy <email@hidden>
- Date: Sun, 17 Jul 2005 12:35:31 -0400
In creating our projects UI we noticed that certain iApps (iTunes,
iPhoto, etc...) have a different border-type around the interface
elements. For example the border around any of the box's in iTunes
like the Now Playing album artwork box is different then any border-
type you can give to a NSBox or other views. We also noticed some 3rd
party apps like Delicious Library seem to use this border-type as
well. We want to join in the club ;-)
This border has no corner pixel, a darker grey on top, a light almost
white grey on the bottom and, the left and right has a medium grey.
Inside this is a solid darker grey. Its like a simple 1px shadow is
being cast around the view.
( Our artist's representation of how this border looks: http://
cole.nitroy.com/Files/Temp/specialBorder.jpg )
The only way I can see to implement this in our app would be to make
a containing NSBox and have manually draw this border.
Is there a simple easy way of doing this and I am overcomplicating
things? I have scoured all over IB, and the NSView documentation and
cannot find anything. I have pried around in the nib files of some of
the iApps and do not see any red flags.
Thoughts?
Regards,
Coleman Nitroy
_______________________________________________
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