From dce647cced8ea169117e80b192734b712c6b0e43 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Fri, 19 Jul 2024 00:58:07 -0600 Subject: [PATCH] Mods --- cromulant/config.py | 2 ++ cromulant/window.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cromulant/config.py b/cromulant/config.py index 2649ccf..03043b6 100644 --- a/cromulant/config.py +++ b/cromulant/config.py @@ -26,6 +26,8 @@ class Config: loop_delay_normal: int = 20_000 loop_delay_slow: int = 60_000 hatch_burst: int = 3 + font_size: int = 20 + footer_font_size: int = 18 @staticmethod def prepare() -> None: diff --git a/cromulant/window.py b/cromulant/window.py index 5f1b3bb..1239e1e 100644 --- a/cromulant/window.py +++ b/cromulant/window.py @@ -65,7 +65,7 @@ class Window: Window.window.setWindowIcon(QIcon(str(Config.icon_path))) style = f"QWidget {{ background-color: {Config.background_color}; \ - color: {Config.text_color}; font-size: 20px}}" + color: {Config.text_color}; font-size: {Config.font_size}px}}" Window.app.setStyleSheet(style) @@ -169,6 +169,7 @@ class Window: layout = QHBoxLayout() Window.info = QLabel("---") Window.info.setWordWrap(True) + Window.info.setStyleSheet(f"font-size: {Config.footer_font_size}px;") Window.expand(Window.info) layout.addWidget(Window.info) Window.root.addLayout(layout)