简体   繁体   English

如何在SWT中设置MenuItem的字体大小?

[英]How to set the font size of MenuItem in SWT?

I want to change the font size of the MenuItem in SWT, there doesn't seem to be a obvious way to do it. 我想在SWT中更改MenuItem的字体大小,似乎没有明显的方法来实现它。 Is there a work around for this problem? 这个问题有解决方法吗?

MenuItem s don't support fonts as you can see in this bug report and apparently they don't want to implement it in the future: 正如您在错误报告中看到的那样, MenuItem不支持字体,显然他们不希望将来实现它:

Sorry, we have no plans to do this. 对不起,我们没有计划这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM