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

Would like a way to center a Stage on another Stage

    Details

      Description

      No matter what i tried. I could not figure out any reasonable way to center a Stage on Stage (for Dialog purposes), because either the border size of the Stage/Window is unknown or the size of the child Stage/Window is unknown before actually showing the child Stage on screen.

      I could show the Stage first (now i know the sizes) and reposition it later, but that is a no go for any window manager that uses animations to show the window. It will break the animation and is not reliable.

      This bugs me, because it is such an easy task in Swing and other Toolkits.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              toelgartejfx Tobias Oelgarte (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: