Font decoration css

Werner Lehmann lehmann at
Wed Jun 19 05:07:29 PDT 2013


I am trying to provde users with common font settings such as alignment, 
underline, or strikethrough on various controls. According to the CSS 
docs there is only limited or no support for these on TextBox and TextArea:

- TextBox has -fx-alignment but no underline or strikethrough
- TextArea has none of the above

Also, controls based on Labeled do not support strikethrough directly so 
I can't achieve this via inline style. Workaround is to use a stylesheet 
and styleclass with subelement selector for the Text subelement. On the 
other hand, underline /is/ supported directly.

Am I missing something, or is this an oversight, or should I file a 
feature request?


More information about the openjfx-dev mailing list