Remove monospace fonts from main GUI

This commit is contained in:
Veronica K. B. Olsen
2020-05-31 12:17:34 +02:00
parent e74b8ec6ce
commit 685af710a6
4 changed files with 20 additions and 22 deletions
-7
View File
@@ -99,10 +99,6 @@ class GuiDocTree(QTreeWidget):
self.resizeColumnToContents(self.C_EXPORT)
self.resizeColumnToContents(self.C_FLAGS)
self.fntFixed = QFont()
self.fntFixed.setFamily("Monospace")
self.fntFixed.setPointSizeF(0.9*self.theTheme.fontPointSize)
logger.debug("DocTree initialisation complete")
# Internal Mapping
@@ -582,10 +578,7 @@ class GuiDocTree(QTreeWidget):
newItem.setText(self.C_FLAGS, "")
newItem.setText(self.C_HANDLE, tHandle)
# newItem.setForeground(self.C_COUNT,QColor(*self.theParent.theTheme.treeWCount))
newItem.setTextAlignment(self.C_COUNT, Qt.AlignRight)
# newItem.setTextAlignment(self.C_EXPORT, Qt.AlignHCenter)
newItem.setFont(self.C_FLAGS, self.fntFixed)
self.theMap[tHandle] = newItem
if pHandle is None: