Skip to content

Commit

Permalink
Per default use system font size
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed Jun 27, 2024
1 parent aa147e3 commit e3ca729
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cnapy/appdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3ca729

Please sign in to comment.