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

Add onResize Event and convenience methods

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      I would like to react when a user changes the size of my Stage, so some way to handle resize events is needed.
      The most typical use case for this would be to set a minimum and/or maximum size — for this it would be convenient to have a .setMinimumSize(width, height) and .setMaximumHeight method vs. implementing a handler that checks if the resizing operation is reducing or increasing the size and consumes the event if required.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psafrata Pavel Šafrata
              Reporter:
              athiemejfx Andre Thieme (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: