mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
set min size for card info dialog (#4221)
This commit is contained in:
parent
ef69f424c1
commit
aee71afebe
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue