From d4b30a93dc572b801189fcf7f2647fd57388f11c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 10 May 2026 08:20:05 +0100 Subject: [PATCH] [presto] make header smaller, more room for the rest --- presto/records_on_the_day.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/presto/records_on_the_day.py b/presto/records_on_the_day.py index 5d4c203d..046cc7da 100644 --- a/presto/records_on_the_day.py +++ b/presto/records_on_the_day.py @@ -64,11 +64,11 @@ MAX_ROWS = 6 # Header HEADER_Y = 0 -HEADER_H = 46 +HEADER_H = 31 HEADER_TEXT_H = 14 HEADER_SIDE_MARGIN = 8 HEADER_BUTTON_W = 44 -HEADER_BUTTON_H = 32 +HEADER_BUTTON_H = 25 HEADER_BUTTON_Y = HEADER_Y + (HEADER_H - HEADER_BUTTON_H) // 2 ARROW_W = HEADER_BUTTON_W ARROW_H = HEADER_BUTTON_H @@ -936,7 +936,7 @@ def _draw_day_header(): cw = display.measure_text(count_str, scale=1) display.text( count_str, - WIDTH - cw - 16, + WIDTH - cw - 11, DAY_HEADER_Y + (DAY_HEADER_H - DAY_COUNT_TEXT_H) // 2, scale=1 )