• 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: Bottombar appearance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bottombar appearance


  • Subject: Re: Bottombar appearance
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 8 Oct 2008 13:59:22 +1000


On 08/10/2008, at 1:18 PM, HAMILTON, Steven wrote:

In iCalc, and iChat and probably many other Apple products the bottom bar and the toolbar has a black indentation line between the bar and the main content view giving a bas relief appearance to the main content. I've got a standard window, textured as per instructions with a Splitview in it (outlineView on left, tableView on right) but I can't get the same appearance. How is this done?


I think the HIG is wrong here. At WWDC we were told not to make the window textured, use a normal window and call this NSWindow method:

-setContentBorderThickness:forEdge:

To get something like iCal you'd use:

[window setContentBorderThickness: 32.0 forEdge: NSMinYEdge];

I think you might need to call this method in the -initWithFrame: method of an NSWindow subclass.

--
Rob Keniger



_______________________________________________

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


References: 
 >Bottombar appearance (From: "HAMILTON, Steven" <email@hidden>)

  • Prev by Date: Re: CoreData: Fetching object with maximum of property
  • Next by Date: Re: Wasted Space and Kernighan
  • Previous by thread: Bottombar appearance
  • Next by thread: Getting pointer to NSWindowController
  • Index(es):
    • Date
    • Thread