diff --git a/ankiqt/ui/addcards.py b/ankiqt/ui/addcards.py index 5ab288462..9edc379b8 100644 --- a/ankiqt/ui/addcards.py +++ b/ankiqt/ui/addcards.py @@ -43,6 +43,7 @@ class AddCards(QDialog): self.forceClose = False restoreGeom(self, "add") restoreSplitter(self.dialog.splitter, "add") + self.dialog.splitter.setChildrenCollapsible(False) self.show() addHook('guiReset', self.modelChanged) ui.dialogs.open("AddCards", self) diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index e726a86aa..e755cf0a6 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -362,6 +362,7 @@ class EditDeck(QMainWindow): restoreGeom(self, "editor") restoreState(self, "editor") restoreSplitter(self.dialog.splitter, "editor") + self.dialog.splitter.setChildrenCollapsible(False) # toolbar self.dialog.toolBar.setIconSize(QSize(self.config['iconSize'], self.config['iconSize'])) diff --git a/designer/addcards.ui b/designer/addcards.ui index 7be541d80..6cd0588ca 100644 --- a/designer/addcards.ui +++ b/designer/addcards.ui @@ -61,6 +61,9 @@ Qt::Vertical + + false + diff --git a/designer/cardlist.ui b/designer/cardlist.ui index 949ab3757..cb75886e3 100644 --- a/designer/cardlist.ui +++ b/designer/cardlist.ui @@ -115,6 +115,9 @@ Qt::Vertical + + false + @@ -172,6 +175,9 @@ Qt::Horizontal + + false +