Jfoenix: JFXTextField label should float above entered text

Created on 4 Apr 2016  路  5Comments  路  Source: sshahine/JFoenix

Entering text into JFXTextField makes the label disappear:
JFXTextField

But according to Material Design:

When the user engages with the text input field, the floating inline labels move to float above the field.

(Note the small "Title" above "Vintage 50")

Most helpful comment

you must set the labelFloatProperty to true.

field.setLabelFloat(true);

All 5 comments

you must set the labelFloatProperty to true.

field.setLabelFloat(true);

Is there a way to float to left or to right?

you can change that by changing node orientation

i am having the same issue. i have imported jfoenix library in scenebuilder, but whenever i use jfxtextfield that dont show ( FLOAT LABEL ) checkbox in the properties inside the inspector.
Any solutions for that?

thanks, it works for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

goxr3plus picture goxr3plus  路  3Comments

TurekBot picture TurekBot  路  5Comments

DmitryZagr picture DmitryZagr  路  3Comments

TioCoding picture TioCoding  路  5Comments

deme78 picture deme78  路  3Comments