From 8092148adc8627da4b574d0c434377f352537ed5 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 17 Apr 2025 09:02:40 -0500 Subject: [PATCH] Use tiny font for daily forecast temperatures --- src/weather_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/weather_manager.py b/src/weather_manager.py index 2d4b129f..3509b0be 100644 --- a/src/weather_manager.py +++ b/src/weather_manager.py @@ -428,11 +428,11 @@ class WeatherManager: # Draw high/low temperatures at bottom temp_text = f"{forecast['temp_low']}°/{forecast['temp_high']}°" - temp_width = draw.textlength(temp_text, font=self.display_manager.small_font) + temp_width = draw.textlength(temp_text, font=self.display_manager.extra_small_font) temp_y = self.display_manager.matrix.height - 8 # Position at bottom with small margin draw.text((center_x - temp_width // 2, temp_y), temp_text, - font=self.display_manager.small_font, + font=self.display_manager.extra_small_font, fill=self.COLORS['text']) # Update the display