在 swt 按钮上垂直显示文本 [英] Displaying text on a swt button vertically
本文介绍了在 swt 按钮上垂直显示文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在按钮上显示文本.我不想将其显示为垂直",而是将其显示为
<前>伏电子r吨一世C一种升非常感谢任何帮助.
解决方案
您必须制作自己的小部件才能在 SWT 中实现.
时程序的输出I'm trying to display text on a button. Instead of displaying it as "Vertical", I'd like to display it as
V e r t i c a l
Any assistance is much appreciated.
解决方案
You have to make your own widget to achieve it in SWT. Here is a complete example that you can try. Hope it helps.
这篇关于在 swt 按钮上垂直显示文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文