Make some minor GUI tweaks

This commit is contained in:
Veronica Berglyd Olsen
2024-10-31 18:35:28 +01:00
parent dd09d3af2f
commit bbb07c9963
2 changed files with 10 additions and 10 deletions
+8 -8
View File
@@ -961,16 +961,16 @@ class GuiOutlineDetails(QScrollArea):
def clearDetails(self) -> None:
"""Clear all the data labels."""
self.titleLabel.setText(self.tr("Title"))
self.titleValue.setText("")
self.fileValue.setText("")
self.itemValue.setText("")
self.cCValue.setText("")
self.wCValue.setText("")
self.pCValue.setText("")
self.synopValue.setText("")
self.titleValue.clear()
self.fileValue.clear()
self.itemValue.clear()
self.cCValue.clear()
self.wCValue.clear()
self.pCValue.clear()
self.synopValue.clear()
for _, value in self.tagValues.values():
value.setText("")
value.clear()
self.updateClasses()
return
+2 -2
View File
@@ -55,7 +55,7 @@ class GuiSideBar(QWidget):
self.mainGui = mainGui
iPx = int(1.2*SHARED.theme.baseButtonHeight)
iPx = int(1.25*SHARED.theme.baseButtonHeight)
iSz = QSize(iPx, iPx)
self.setContentsMargins(0, 0, 0, 0)
@@ -114,7 +114,7 @@ class GuiSideBar(QWidget):
self.outerBox.addWidget(self.tbStats)
self.outerBox.addWidget(self.tbSettings)
self.outerBox.setContentsMargins(0, 0, 0, 0)
self.outerBox.setSpacing(CONFIG.pxInt(4))
self.outerBox.setSpacing(CONFIG.pxInt(6))
self.setLayout(self.outerBox)
self.updateTheme()