-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
None
-
None
Some controls like buttons and combo-boxes default their maxwidth to their preferred size.
For these controls the max combo-box dropdowns show USE_COMPUTED_SIZE and USE_PREF_SIZE.
Often for these controls you may wish to set the maxsize to some unbounded value.
Usually this unbounded value shows up in fxml as +Infinity and is expressed in code as control.setMaxWidth(Double.MAX_VALUE).
Adding an extra setting to the maxsize drop down combo box to allow the maxsize to be set to an unbounded value would be useful.
Note that you can currently manually set the maxsize to Infinity by typing the value into the max combo box text field and pressing enter or by manually editing the fxml file.
See here for related forum discussion: https://forums.oracle.com/forums/thread.jspa?threadID=2386629
For these controls the max combo-box dropdowns show USE_COMPUTED_SIZE and USE_PREF_SIZE.
Often for these controls you may wish to set the maxsize to some unbounded value.
Usually this unbounded value shows up in fxml as +Infinity and is expressed in code as control.setMaxWidth(Double.MAX_VALUE).
Adding an extra setting to the maxsize drop down combo box to allow the maxsize to be set to an unbounded value would be useful.
Note that you can currently manually set the maxsize to Infinity by typing the value into the max combo box text field and pressing enter or by manually editing the fxml file.
See here for related forum discussion: https://forums.oracle.com/forums/thread.jspa?threadID=2386629
- duplicates
-
JDK-8102934 Inspector editors : add a MAX_VALUE constant where it is appropriate
-
- Resolved
-