Re: Bottombar appearance
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