How to change the height of an NSWindow titlebar?

后端 未结 4 822
执念已碎
执念已碎 2020-12-13 04:59

I want to change the height of an NSWindow titlebar.

Here are some examples: \"alt

And…

4条回答
  •  無奈伤痛
    2020-12-13 05:39

    You'd have to subclass NSWindow and do a custom window frame drawing. It's not only about a titlebar. It's about whole window frame (so you can, actually, put close/minimize/zoom buttons at the bottom if you wish).

    A good starter is at "Cocoa with love" website.

提交回复
热议问题