如何在SWT中设置MenuItem的字体大小? [英] How to set the font size of MenuItem in SWT?
本文介绍了如何在SWT中设置MenuItem的字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在SWT中改变 MenuItem
的字体大小,似乎并不是一个明显的方法。有没有解决这个问题的解决方法?
I want to change the font size of the MenuItem
in SWT, there doesn't seem to be a obvious way to do it. Is there a work around for this problem?
推荐答案
MenuItem
不支持字体,你可以在这个错误报告中看到,显然他们不希望在将来实现它:
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:
抱歉,我们没有计划这样做。
Sorry, we have no plans to do this.
这篇关于如何在SWT中设置MenuItem的字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文