Files
LiquidGUI/styles/SubLabel.py
Dunestorm 495de03e39 LiquidGUI [1.1.0.0] Dev
- Initial Linux support.
2024-07-07 16:41:50 +01:00

9 lines
283 B
Python

from PyQt6.QtWidgets import QLabel
from PyQt6.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)