Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8103175

Provide an unlimited maxsize setting in the maxwidth and maxheight dropdown combobox

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • javafx
    • 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

            Unassigned Unassigned
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: