有没有类似 NSBottomBar 的东西?

发布于 2024-09-14 12:26:38 字数 474 浏览 3 评论 0原文

好吧,当然我检查了 API,没有任何内容——至少在这个类名下是这样。

我的意思是 Apple 人机界面指南中称为底部栏的小部件。 我是否必须自己从 NSView 中绘制它,如果是的话我该如何绘制纹理?

替代文本 http://developer.apple。 com/mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/art/wn_newwindowparts.jpg

PS:我将工具栏添加到标签中,因为它是我能找到的最接近的通用关键字,而底部栏正好相反一个工具栏。

Okay of course i checked the API and there is nothing - at least under this class name.

What i mean is the widget referred to as a bottom bar in the Apple Human Interface Guidline.
Do i have to draw this myself from a NSView, if so how do i get the texture drawn?

alt text http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/art/wn_newwindowparts.jpg

P.S.: I added Toolbar to the tags because it is the closest generic keyword i can find and the bottom bar ist just the opposite as a toolbar.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眸中客 2024-09-21 12:26:38

您正在寻找“内容边界”。这是您需要在 Leopard 代码中设置的内容,但您可以在 Snow Leopard 的 Interface Builder 中设置它(请注意,您必须面向 10.6 或更高版本才能使其在 Interface Builder 中成为有效设置)。

您可以方便地设置大边框或小边框(使用 Apple 批准的标准尺寸)。要进行设置,请在 Interface Builder 中选择您的窗口,然后显示“大小”检查器。在面板底部,您将找到内容边框设置。

You're looking for the "content border." This is something you need to set in code with Leopard, but you can set it in Interface Builder in Snow Leopard (note you must be targeting 10.6 or above in order for this to be a valid setting in Interface Builder).

You can conveniently set a large or small border (using the standard Apple-approved sizes). To set this, select your window in Interface Builder, then show the Size inspector. At the bottom of the panel, you'll find the Content Border settings.

日记撕了你也走了 2024-09-21 12:26:38

Brandin Walkin 出色的 BWToolkit(BSD 许可证)提供了对内容边框中 UI 的支持(以及许多其他不错的功能) UI 元素)并使使用“底栏”变得更加愉快。

Brandin Walkin's excellent BWToolkit (BSD license) provides support for UI in the content border (among many other nice UI elements) and makes using a "bottom bar" much more enjoyable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文