How to add an icon to label
Opened this issue · 2 comments
omdaCh commented
is there any solution to add an icon to label ?
amischler commented
I did not try, but I guess that you should be able to do it using CSS.
See the -fx-graphic property of Labeled
See wiki to understand how to match a label using its id.
If if doesn't work, you can also customize the factory provider used for labels.
omdaCh commented
I mean generate an icon beside the label. means automatically for each ElementHandler like editorFactoryProvider do. for example, for the textfield it will be an icon that indicate that this is a text or is an email.
This make the form more elegant and more useful.