Skip navigation.
 
mlRe: Smart way to get "etched" borders in Leopard
FROM : Chris Hanson
DATE : Mon Nov 05 01:00:36 2007

On Nov 4, 2007, at 9:33 AM, <email_removed> 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

Related mailsAuthorDate
mlSmart way to get "etched" borders in Leopard jesse Nov 4, 18:33
mlRe: Smart way to get "etched" borders in Leopard Chris Hanson Nov 5, 01:00
mlRe: Smart way to get "etched" borders in Leopard Rob Keniger Nov 5, 03:57
mlRe: Smart way to get "etched" borders in Leopard Jesse Grosjean Nov 8, 22:29
mlRe: Smart way to get "etched" borders in Leopard Ken Ferry Nov 8, 23:00
mlRe: Smart way to get "etched" borders in Leopard Andrew Kimpton Nov 9, 22:42
mlRe: Smart way to get "etched" borders in Leopard Ken Ferry Nov 10, 02:10
mlRe: Smart way to get "etched" borders in Leopard Andrew Kimpton Nov 10, 04:41
mlRe: Smart way to get "etched" borders in Leopard Jesse Grosjean Nov 10, 05:30
mlRe: Smart way to get "etched" borders in Leopard Antonio Nunes Nov 10, 08:41
mlRe: Smart way to get "etched" borders in Leopard Jesse Grosjean Nov 11, 16:28