Skip to content

Commit

Permalink
Update QuitDialogView.java
Browse files Browse the repository at this point in the history
  • Loading branch information
EspenTinius committed May 26, 2026
1 parent 2b79123 commit 1ac134d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ protected void initLayout() {
panel.setPadding(new Insets(26, 30, 28, 30));
panel.setMaxWidth(440);
panel.setPrefWidth(440);
// Lock the panel to a fixed height so it doesn't visibly grow or
// shrink when the status label appears/disappears, and so it stays
// visually aligned with the settings overlay (which also has a
// fixed height).
panel.setMinHeight(420);
panel.setPrefHeight(420);
panel.setMaxHeight(420);
panel.getStyleClass().add("quit-dialog-panel");

// Dimmer wrapper.
Expand Down

0 comments on commit 1ac134d

Please sign in to comment.