From a15ff9040baa11172a2d69c1b003935ae5a1e6e4 Mon Sep 17 00:00:00 2001 From: Denny Sheirer Date: Sun, 27 Oct 2024 08:22:45 -0400 Subject: [PATCH] #2037 JavaFX Windows Can't Be Shrunk. Reverts changes made under #1619. (#2047) Co-authored-by: Dennis Sheirer --- src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java b/src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java index b09b21ae6..f7b13a170 100644 --- a/src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java +++ b/src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java @@ -460,9 +460,6 @@ private void restoreStage(Stage stage) stage.show(); stage.requestFocus(); stage.toFront(); - stage.setMinHeight(stage.getHeight()); - stage.setMinWidth(stage.getWidth()); - // System.out.println("Stage [" + stage.getTitle() + "] restored - width[" + stage.getWidth() + "] height [" + stage.getHeight() + "]"); } @Override