diff --git a/novelwriter/guimain.py b/novelwriter/guimain.py index a7f03cb76..7bcb600b9 100644 --- a/novelwriter/guimain.py +++ b/novelwriter/guimain.py @@ -161,7 +161,7 @@ def __init__(self): self.splitDocs.setOpaqueResize(False) self.splitDocs.setHandleWidth(hWd) - # Splitter : Project Tree / Main Tabs + # Splitter : Project Tree / Document Area self.splitMain = QSplitter(Qt.Horizontal) self.splitMain.setContentsMargins(0, 0, 0, 0) self.splitMain.addWidget(self.treePane) @@ -184,7 +184,7 @@ def __init__(self): self.idxViewDoc = self.splitView.indexOf(self.docViewer) self.idxViewMeta = self.splitView.indexOf(self.viewMeta) - # Indices of Tab Widgets + # Indices of Stack Widgets self.idxEditorView = self.mainStack.indexOf(self.splitMain) self.idxOutlineView = self.mainStack.indexOf(self.outlineView) self.idxProjView = self.projStack.indexOf(self.projView) @@ -198,6 +198,9 @@ def __init__(self): self.splitView.setCollapsible(self.idxViewDoc, False) self.splitView.setCollapsible(self.idxViewMeta, False) + self.splitMain.setStretchFactor(self.idxTree, 0) + self.splitMain.setStretchFactor(self.idxMain, 1) + # Editor / Viewer Default State self.splitView.setVisible(False) self.docEditor.closeSearch()