java - JavaFX TextField CSS -


how create javafx textfield android textfield using javafx css ?

for example : android textfield

i have tried lots of fx css not achieved . here http://jsfiddle.net/qkm37/ css exist html input type not applicable in javafx scenebuilder .

for example : /** not exist in javafx **/

-fx-border: none;

-fx-background: bottom left linear-gradient(#a9a9a9, #a9a9a9) no-repeat, bottom center linear-gradient(#a9a9a9, #a9a9a9) repeat-x, bottom right linear-gradient(#a9a9a9, #a9a9a9) no-repeat;

try in css file:

.text-field {     -fx-background-color: #a9a9a9 , white , white;     -fx-background-insets: 0 -1 -1 -1, 0 0 0 0, 0 -1 3 -1; }  .text-field:focused {     -fx-background-color: #a9a9a9 , white , white;     -fx-background-insets: 0 -1 -1 -1, 0 0 0 0, 0 -1 3 -1; } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -