Only hide prompt text after user starts typing

This commit is contained in:
Christoph Atteneder 2017-12-06 10:35:19 +01:00
parent 794473602e
commit a49157a628
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B

View file

@ -150,6 +150,10 @@ bg color of non edit textFields: fafafa
-fx-text-fill: white;
}
.text-field {
-fx-prompt-text-fill: derive(-fx-control-inner-background, -30%);
}
.text-field:readonly {
-fx-text-fill: #000000;
-fx-background-color: #FAFAFA;