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

Setting the size and position of a window are taken as separate operations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • Mac but I expect it to be same on windows

      I am trying to implement resize from all sides of a window, this requires both resizing and moving the window. In JavaFX 1.3 we implemented in such a way that the setX,Y,Width,Height methods on Stage did nothing but store the new value and mark dirty. Then on the next pulse the window was moved and resized in one call. This was important to avoid jittering when resizing the window.

      I have attached my Windows Resize helper class, just create a instance and pass in root Region and stage and it will add drag resize support to the stage.

            art Artem Ananiev (Inactive)
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: