Andy Hin
Andy Hin

Reputation: 31893

How to get style NSWindow title bar like this

I've seen this title bar style with a lot of Mac apps and I like the aesthetics (taller, larger title, custom buttons). How can I achieve this?

enter image description here

Upvotes: 0

Views: 808

Answers (1)

Wevah
Wevah

Reputation: 28242

The taller titlebar and aligned buttons are changed by setting the titleVisibility property:

window.titleVisibility = NSWindowTitleHidden; // Obj-C

window.titleVisibility = .Hidden // Swift

The title is most likely a custom view (possibly just an NSTextField) in the title bar or toolbar, with the font size cranked up.

Upvotes: 2

Related Questions