Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aee71af

Browse files
authored
set min size for card info dialog (#4221)
1 parent ef69f42 commit aee71af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qt/aqt/browser/card_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def __init__(
5151

5252
def _setup_ui(self, card_id: CardId | None) -> None:
5353
self.mw.garbage_collect_on_dialog_finish(self)
54+
self.setMinimumSize(400, 300)
5455
disable_help_button(self)
5556
restoreGeom(self, self.GEOMETRY_KEY, default_size=(800, 800))
5657
add_close_shortcut(self)

0 commit comments

Comments
 (0)