@Override
 public void setMaxSize(double d, double d1) {
   super.setMaxSize(d, d1);
   textField.setMaxSize(d, d1);
 }
Exemple #2
0
 private void setSize(Control control, double width, double height) {
   control.setMaxSize(width, height);
   control.setMinSize(width, height);
   control.setPrefSize(width, height);
 }