fix(gui): set minimum size for comment dialog (#2405)

This commit is contained in:
Skylot
2025-02-06 18:39:25 +00:00
parent 5d5bf325fe
commit 61f04d6b07
@@ -189,6 +189,7 @@ public class CommentDialog extends JDialog {
setTitle(NLS.str("comment_dialog.title.add"));
}
pack();
setMinimumSize(getSize());
if (!codeArea.getMainWindow().getSettings().loadWindowPos(this)) {
setSize(400, 340);
}