LiquidGUI [1.1.0.1]
- Added support for minimum and maximum temperatures. - Corrected typo in Calibri font name. - UI tweaks.
This commit is contained in:
+4
-2
@@ -1,9 +1,11 @@
|
||||
from PySide6.QtWidgets import QLabel
|
||||
from PySide6.QtGui import QFont
|
||||
|
||||
|
||||
class SubLabel(QLabel):
|
||||
""" Formatting for sub-labels. """
|
||||
|
||||
def __init__(self, value):
|
||||
super().__init__()
|
||||
self.setFont(QFont("Calibre", 10, weight=QFont.Weight.Bold))
|
||||
self.setText(value)
|
||||
self.setFont(QFont("Calibri", 12, weight=QFont.Weight.Bold))
|
||||
self.setText(value)
|
||||
|
||||
Reference in New Issue
Block a user