mirror of
https://github.com/ankitects/anki.git
synced 2025-11-16 09:37:12 -05:00
reduce editcurrent width constraint
https://anki.tenderapp.com/discussions/ankidesktop/35724-bug-edit-window-not-resizable
This commit is contained in:
parent
8b78d326f8
commit
35964fa55c
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class EditCurrent(QDialog):
|
||||||
self.form.setupUi(self)
|
self.form.setupUi(self)
|
||||||
self.setWindowTitle(_("Edit Current"))
|
self.setWindowTitle(_("Edit Current"))
|
||||||
self.setMinimumHeight(400)
|
self.setMinimumHeight(400)
|
||||||
self.setMinimumWidth(500)
|
self.setMinimumWidth(250)
|
||||||
self.form.buttonBox.button(QDialogButtonBox.Close).setShortcut(
|
self.form.buttonBox.button(QDialogButtonBox.Close).setShortcut(
|
||||||
QKeySequence("Ctrl+Return"))
|
QKeySequence("Ctrl+Return"))
|
||||||
self.editor = aqt.editor.Editor(self.mw, self.form.fieldsArea, self)
|
self.editor = aqt.editor.Editor(self.mw, self.form.fieldsArea, self)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue