Files
LiquidGUI/styles/SubLabel.py
Dunestorm 11b812cd37 LiquidGUI [1.1.0.1]
- Added support for minimum and maximum temperatures.
- Corrected typo in Calibri font name.
- UI tweaks.
2024-07-13 21:30:28 +01:00

12 lines
290 B
Python

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("Calibri", 12, weight=QFont.Weight.Bold))
self.setText(value)