Reputation: 23
there some applications with larger window title bars than in "Interface Builder". for example "Things" application. So how can i do this?
Upvotes: 2
Views: 3484
Reputation:
The following method of NSWindow lets you modify the size of the window's content border:
- (void)setContentBorderThickness:(CGFloat)thickness forEdge:(NSRectEdge)edge
Upvotes: 2
Reputation: 16139
Interface Builder and Things have the same size title bars for their main windows. Interface Builder does offer a toolbar, which when expanded can make it appear larger than Things.
Interface Builder also has a few NSPanels (I'm guessing this is what you're talking about). NSPanel will have a small title bar as seen in the IB Library/Inspector. These window will hide when the application isn't the active application. However non-NSPanel NSWindows will have the title bar seen in Things.
If you want normal title bars, use NSWindows, not NSPanels, but also note their expected usage
Upvotes: 1