开发者

Change titlebar height of an NSWindow [duplicate]

开发者_Go百科This question already has answers here: Closed 10 years ago.

Possible Duplicate:

How to change the height of an NSWindow titlebar?

I an trying to change the height of the titlebar of an NSWindow but without success.

Do you have any idea how I can achive this?

Thanks and regards,


You can use a textured window where you move the content view further down than usual. You may add views to the title bar by adding them to window.contentView.superview.

You may also draw a custom title bar by adding a view to window.contentView.superview. Make sure to add it behind the standard window controls.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜