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

Win: Setting stage min width/height doesn't work before showing the stage on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • javafx
    • None

    Description

      When stage minimum width/height is set before stage.show(), the stage is shown smaller and when I try to resize it it jump-grows to the set minimum size.
      Reproducible on Windows, not reproducible on Mac.

          @Override public void start(Stage stage) {
              Group root = new Group();
              Scene scene = new Scene(root, 400, 400);

              stage.setScene(scene);
              stage.setMinWidth(800);
              stage.show();
          }

      Attachments

        Activity

          People

            pchelko Petr Pchelko (Inactive)
            psafrata Pavel Ĺ afrata
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: