|Strikeout text in Mac OSX [message #663465]
||Tue, 05 April 2011 08:27
| Ricky de Klerck
Registered: January 2011
We're developing a RCP application but we have some trouble with the differences between Windows and Mac OSX. We want to strikeout text in a Tree, but it doens't work on Mac.
We use this to set the font:
treeItem.setFont(SWTResourceManager.getFont(String name, int size, int style, boolean strikeout, boolean underline))
but we get an error on Mac:
Unable to set underline or strikeout (probably on a non-Windows platform)
Is there another way to create a font with strikeout so it works on both Windows and Mac?
Thanks in advance!
Powered by FUDForum
. Page generated in 0.09399 seconds