SWT“纤薄外观”按钮和滚动条

发布于 2024-08-22 22:38:21 字数 146 浏览 10 评论 0原文

Eclipse 3.5(至少在 Mac 上)的按钮和滚动条现在具有更纤薄的外观,而以前版本的按钮和滚动条使用更大、“更蓬松”的外观。我想在我的 RCP 应用程序中采用相同的外观,但我在 SWT 或 JFace API 中找不到如何强制小部件使用这种更纤薄的外观。这是怎么做到的?

Eclipse 3.5 (on the Mac, at least) now has a slimmer look to its buttons and scroll bars, whereas previous versions' buttons and scroll bars used the larger, "puffier" look. I would like to adopt this same look in my RCP app, but I can't find in the SWT or JFace APIs anywhere how to force the widgets to use this slimmer look. How is this done?

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

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

发布评论

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

评论(1

许久 2024-08-29 22:38:21

这是因为您现在使用的是原生 Cocoa,而不是之前的 Carbon 实现。没有适用于它的 API。

This is because you're now using native Cocoa versus the previous Carbon implementation. There is no API for it.

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