min max pre
Button button =newButton("ButtonButtonButtonButton");
button.setMinWidth(100);
button.setPrefWidth(120);
button.setMaxWidth(150);
button.getWidth()//父組件提供的寬度//類似 wrap_content
button.setPrefWidth(Button.USE_COMPUTED_SIZE);//Control.USE_COMPUTED_SIZE 類似 wrap_content//Control.USE_PREF_SIZE 固定值