set min size for card info dialog

This commit is contained in:
llama 2025-07-23 16:05:03 +08:00
parent 1f3d03f7f8
commit 140e3824bc
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -51,6 +51,7 @@ class CardInfoDialog(QDialog):
def _setup_ui(self, card_id: CardId | None) -> None:
self.mw.garbage_collect_on_dialog_finish(self)
self.setMinimumSize(400, 300)
disable_help_button(self)
restoreGeom(self, self.GEOMETRY_KEY, default_size=(800, 800))
add_close_shortcut(self)