diff --git a/cnapy/appdata.py b/cnapy/appdata.py index f622d71..d8f3dd0 100644 --- a/cnapy/appdata.py +++ b/cnapy/appdata.py @@ -41,8 +41,10 @@ def __init__(self): self.scen_color_good = QColor(130, 190, 0) self.scen_color_warn = QColor(255, 200, 0) self.scen_color_bad = Qt.red - - self.font_size = 9 + + font = QFont() + font.setFamily(font.defaultFamily()) + self.font_size = font.pointSize() self.box_width = 80 self.box_height = 40 self.comp_color = QColor(0, 170, 255)