Files
LiquidGUI/styles/SubLabel.py
Dunestorm eda2fbeb71 LiquidGUI [1.0.3.2] Release
- Refactored some code.
- Corrected fonts and updated styles.
2024-06-30 14:57:29 +01:00

9 lines
287 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("Calibre", 10, weight=QFont.Weight.Bold))
self.setText(value)