• 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: NSWindow title bar view height
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow title bar view height


  • Subject: Re: NSWindow title bar view height
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 09 Sep 2011 13:54:22 -0700

On Sep 9, 2011, at 11:41 AM, Torsten Curdt wrote:

> I am wondering what could be the best way of creating a NSWindow that
> has a bigger title bar - similar to the AppStore app or iCal (to add
> some other NSViews). A project I found doing just that feels a little
> hack'ish

I have never seen a non-hackish way to tweak the title bar in such a way, unfortunately. There are some methods to access and adjust the standard buttons, but the layout and drawing of the title bar are done by undocumented internal classes.

(If you want to see real hackish, you should look at the code Chromium uses to manage its fancy windows with the tabs in the title bar. It works, and I don’t know of any better way to do what it’s doing, but it’s quite scary.)

—Jens_______________________________________________

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: NSWindow title bar view height
      • From: Torsten Curdt <email@hidden>
References: 
 >NSWindow title bar view height (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: Set a view's delegate using IB
  • Next by Date: Re: NSOutlineView and -reloadDataForRowIndexes:columnIndexes:
  • Previous by thread: NSWindow title bar view height
  • Next by thread: Re: NSWindow title bar view height
  • Index(es):
    • Date
    • Thread