reduce editcurrent width constraint

https://anki.tenderapp.com/discussions/ankidesktop/35724-bug-edit-window-not-resizable
This commit is contained in:
Damien Elmes 2019-09-02 09:52:04 +10:00
parent 8b78d326f8
commit 35964fa55c

View File

@ -20,7 +20,7 @@ class EditCurrent(QDialog):
self.form.setupUi(self)
self.setWindowTitle(_("Edit Current"))
self.setMinimumHeight(400)
self.setMinimumWidth(500)
self.setMinimumWidth(250)
self.form.buttonBox.button(QDialogButtonBox.Close).setShortcut(
QKeySequence("Ctrl+Return"))
self.editor = aqt.editor.Editor(self.mw, self.form.fieldsArea, self)