Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Thick title bar window in cocoa, similar to iTunes

I've been looking around and I can't find much information on how I would go about creating a window similar to the Mac App Store or iTunes. It has a thicker title bar with buttons ect. as you can see in the image below.

Any help would be much appreciated.

http://youfindr.webs.com/Screen%20Shot%202012-03-20%20at%2017.28.39.png

like image 296
BenJacob Avatar asked Mar 20 '12 17:03

BenJacob


2 Answers

In Interface Builder there's an item called "Toolbar". Drag that onto your Window, then you can add "Image Toolbar Items", "Flexible Space Toolbar Item", etc.

like image 50
afrederick Avatar answered Sep 29 '22 07:09

afrederick


There are some similar questions to this one: Title Bar Buttons and Custom Title Bars.

I think the main workaround is to create your own view to be placed in top of the titlebar as a child of your window's content superview.

like image 41
Nickkk Avatar answered Sep 29 '22 06:09

Nickkk