• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Smart way to get "etched" borders in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Smart way to get "etched" borders in Leopard
      • From: Jesse Grosjean <email@hidden>
References: 
 >Smart way to get "etched" borders in Leopard (From: email@hidden)

  • Prev by Date: Re: FYI - installer packages are the preferred deployment method now
  • Next by Date: Re: FYI - installer packages are the preferred deployment method now
  • Previous by thread: Smart way to get "etched" borders in Leopard
  • Next by thread: Re: Smart way to get "etched" borders in Leopard
  • Index(es):
    • Date
    • Thread