开发者

Changing the size of a standard About panel

开发者 https://www.devze.com 2023-04-08 02:17 出处:网络
In my app I display a standard About window using the method or开发者_StackOverflow社区derFrontStandardAboutPanel:of NSApplication.

In my app I display a standard About window using the method or开发者_StackOverflow社区derFrontStandardAboutPanel:of NSApplication.

The panel thus presented has a size of 285x335 pixels. Is there a way to make it bigger?

Thank you.


You should probably read this article and this technote.

You'll want to pay attention to the custom NSView section in the technote because you can't just specify as size for the standard window. At the end of the day, probably the simplest thing is to just treat it like opening any other window and implement the behavior yourself.

0

精彩评论

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