From 67b6a6fd68db67052ef6095f552ba47aaa2c839c Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 16 Sep 2025 11:07:06 -0400 Subject: [PATCH] adjust spacing on of the day manager text --- src/of_the_day_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/of_the_day_manager.py b/src/of_the_day_manager.py index bc49b22f..50efbd20 100644 --- a/src/of_the_day_manager.py +++ b/src/of_the_day_manager.py @@ -425,7 +425,7 @@ class OfTheDayManager: body_height = 8 # --- Draw Title (always at top) --- - title_y = title_height # Position title so its bottom is at title_height + title_y = 2 # Position title at top with small margin # Calculate title width for centering (robust to font type) try: @@ -438,7 +438,7 @@ class OfTheDayManager: self._draw_bdf_text(draw, title_font, title, title_x, title_y, color=self.title_color) # Underline below title (centered) - underline_y = title_height + 1 + underline_y = title_y + title_height + 2 # Space after title underline_x_start = title_x underline_x_end = title_x + title_width draw.line([(underline_x_start, underline_y), (underline_x_end, underline_y)], fill=self.title_color, width=1) @@ -446,7 +446,7 @@ class OfTheDayManager: # --- Draw Subtitle or Description (rotating) --- # Start subtitle/description below the title and underline # Account for title height + underline + spacing - y_start = title_height + body_height + 4 # Space for underline + y_start = underline_y + 3 # Space after underline available_height = matrix_height - y_start available_width = matrix_width - 2