Replaced the scaling variables on document titlebar
This commit is contained in:
@@ -58,13 +58,14 @@ class GuiDocTitleBar(QLabel):
|
|||||||
self.setWordWrap(True)
|
self.setWordWrap(True)
|
||||||
self.setFrameShape(QFrame.NoFrame)
|
self.setFrameShape(QFrame.NoFrame)
|
||||||
self.setLineWidth(0)
|
self.setLineWidth(0)
|
||||||
|
|
||||||
lblPalette = self.palette()
|
lblPalette = self.palette()
|
||||||
lblPalette.setColor(QPalette.Window, QColor(*self.theTheme.colBack))
|
lblPalette.setColor(QPalette.Window, QColor(*self.theTheme.colBack))
|
||||||
lblPalette.setColor(QPalette.Text, QColor(*self.theTheme.colText))
|
lblPalette.setColor(QPalette.Text, QColor(*self.theTheme.colText))
|
||||||
self.setPalette(lblPalette)
|
self.setPalette(lblPalette)
|
||||||
|
|
||||||
lblFont = self.font()
|
lblFont = self.font()
|
||||||
lblFont.setPointSizeF(0.9*self.theTheme.defFontSize)
|
lblFont.setPointSizeF(0.9*self.theTheme.fontPointSize)
|
||||||
self.setFont(lblFont)
|
self.setFont(lblFont)
|
||||||
|
|
||||||
logger.debug("DocTitleBar initialisation complete")
|
logger.debug("DocTitleBar initialisation complete")
|
||||||
|
|||||||
Reference in New Issue
Block a user