mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
fullscreen: Change navigation/new-document layout
Left-align the navigation and new-document buttons in the top panel to prevent them from moving around when changing scenes.
This commit is contained in:
parent
a27a1f399a
commit
8900a0ed3f
|
@ -91,20 +91,16 @@ class fullScreenEditor(QWidget):
|
|||
# Top panel Layout
|
||||
if self.btnSpellCheck:
|
||||
self.topPanel.layout().addWidget(self.btnSpellCheck)
|
||||
self.topPanel.layout().addStretch(5)
|
||||
|
||||
self.topPanel.layout().addWidget(self.btnPrevious)
|
||||
self.topPanel.layout().addStretch(1)
|
||||
|
||||
self.topPanel.layout().addWidget(self.lblTitle)
|
||||
self.topPanel.layout().addWidget(self.wPath)
|
||||
self.topPanel.layout().addSpacing(15)
|
||||
self.topPanel.layout().addWidget(self.btnPrevious)
|
||||
self.topPanel.layout().addWidget(self.btnNext)
|
||||
self.topPanel.layout().addWidget(self.btnNew)
|
||||
|
||||
self.topPanel.layout().addStretch(1)
|
||||
self.topPanel.layout().addWidget(self.btnNext)
|
||||
self.topPanel.layout().addWidget(self.lblTitle)
|
||||
self.topPanel.layout().addWidget(self.wPath)
|
||||
self.topPanel.layout().addStretch(1)
|
||||
|
||||
self.topPanel.layout().addStretch(5)
|
||||
self.topPanel.layout().addWidget(self.btnClose)
|
||||
self.updateTopBar()
|
||||
|
||||
|
|
Loading…
Reference in a new issue