Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add an icon to label #105

Open
omdaCh opened this issue Jun 14, 2015 · 2 comments
Open

How to add an icon to label #105

omdaCh opened this issue Jun 14, 2015 · 2 comments

Comments

@omdaCh
Copy link

omdaCh commented Jun 14, 2015

is there any solution to add an icon to label ?

@amischler
Copy link
Member

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
Copy link
Author

omdaCh commented Jun 14, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants