I know I can do
TextField tempField = new TextField();
tempField.setMinSize(500,500);
within JavaFX but I have about 45 text fields to change so I'd like to change them all at once by setting CSS on the scene. Can anyone help me out?
Figured it out
.text-field{
-fx-min-width: 50;
-fx-min-height: 50;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With