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