• 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: Creating a Bottom Bar on NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Bottom Bar on NSWindow


  • Subject: Re: Creating a Bottom Bar on NSWindow
  • From: Andre Masse <email@hidden>
  • Date: Tue, 02 Dec 2008 20:05:06 -0500

If you're targeting Leopard, you can put these 2 lines in your controller's -awakeFromNib: method:

[[self window] setAutorecalculatesContentBorderThickness:YES forEdge:NSMinYEdge];
[[self window] setContentBorderThickness: 32.0 forEdge: NSMinYEdge];


Cheers,

Andre Masse

On Dec 2, 2008, at 19:59, Mike Chambers wrote:

I am working on an app, and need to create a "bottom bar" for it.

I could not find any control or info on how to do this, but I noticed
that if I set the Appearance : Texture attribute to true in Interface
Builder (for the window), I seemed to get a bottom bar.

You can see a screenshot here:

http://www.flickr.com/photos/mikechambers/3077911711/

My question is:

Is this the correct way to create the bottom bar?

Is there any way to style the window so it look more like itunes
(itunes has a lighter grey).

Thanks for any input...

mike
_______________________________________________

_______________________________________________

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: Creating a Bottom Bar on NSWindow
      • From: Benjamin Stiglitz <email@hidden>
References: 
 >Creating a Bottom Bar on NSWindow (From: "Mike Chambers" <email@hidden>)

  • Prev by Date: Creating a Bottom Bar on NSWindow
  • Next by Date: Re: NSImageView antialiasing when scaling up images
  • Previous by thread: Creating a Bottom Bar on NSWindow
  • Next by thread: Re: Creating a Bottom Bar on NSWindow
  • Index(es):
    • Date
    • Thread