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

[Dialog] DialogPane should also compute minSize/maxSize

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      The DialogPane only comues pref-sizes. However sometimes you need to prevent a dialog getting smaller than the min-size. therefore it would be good if the dialog-pane not only computes pref, but also min/max sizes.

      (Besides it would be nice to be able to actually overwrite getDialogPane(), i.e. remove the final keyword of the Dialog to be able to return a custom DialogPane with its correct type)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jgiles Jonathan Giles
              Reporter:
              smorandijfx Stefano Morandi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: