Fix bug in reset of mode filters. Make forecast labels theme-dependent.

This commit is contained in:
alessandro90
2019-04-14 15:57:18 +02:00
parent 7625016b56
commit 91bfcde7cc
10 changed files with 771 additions and 703 deletions

View File

@@ -1,4 +1,5 @@
from PyQt5.QtWidgets import QWidget
from PyQt5.QtCore import QSize
class FixedAspectRatioWidget(QWidget):
space = 10
@@ -16,4 +17,4 @@ class FixedAspectRatioWidget(QWidget):
h_lbl = h / 9 - self.space
for label in self.labels:
label.rescale(w_lbl, h_lbl)
label.rescale(QSize(w_lbl, h_lbl))