Re: Smart way to get "etched" borders in Leopard
Re: Smart way to get "etched" borders in Leopard
- Subject: Re: Smart way to get "etched" borders in Leopard
- From: Chris Hanson <email@hidden>
- Date: Sun, 4 Nov 2007 16:00:36 -0800
On Nov 4, 2007, at 9:33 AM, email@hidden wrote:
Can someone tell me what the smart way to get etched (not sure if
that's
the right term) borders for a Leopard only app. My app will used a
Textured Window, and I want to have borders that look like the
borders in
iChat at the top and bottom of the scroll view.
Like in the bottom bar of Address Book, too?
This is documented in the Application Kit Release Notes (10.5) under
"Text and image effects: -[NSCell backgroundStyle]":
For example, if you place an borderless NSTextField directly on the
window surface you will likely want to have a controller call
setBackgroundStyle:NSBackgroundStyleRaised on the text cell to get
engraved text.
Hope this helps!
-- Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden