From c2947fa748731b578128a1e7ab772ce258210ce8 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 2 Aug 2026 14:42:11 +0200 Subject: [PATCH] fix build --- AGENTS.md | 4 ++-- src/ui/weather_detail_screen.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index eab0d00..1bb17e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,8 +35,8 @@ WT32-SC01 Plus Dashboard für ESP32-S3 (3.5" kapazitiver Touch-IPS-Display, 320 # Build + Flash mit explizitem Port ./scripts/deploy.sh /dev/ttyUSB0 -# Nur Build (ohne Flash) -pio run +# Nur Build (ohne Flash) - Erfordert virtuelle Umgebung +.venv-platformio/bin/pio run # Serieller Monitor pio device monitor diff --git a/src/ui/weather_detail_screen.cpp b/src/ui/weather_detail_screen.cpp index dc14e3a..2b56dc0 100644 --- a/src/ui/weather_detail_screen.cpp +++ b/src/ui/weather_detail_screen.cpp @@ -29,12 +29,12 @@ void buildList() { // Header row with column titles. lv_obj_t *header = lv_label_create(list); lv_label_set_text(header, "Icon Uhrzeit Grad Text Regen %"); - lv_obj_set_style_text_font(header, &lv_font_montserrat_12, 0); + lv_obj_set_style_text_font(header, &lv_font_montserrat_14, 0); lv_obj_set_style_text_color(header, Theme::text(), 0); // Separator line below header. lv_obj_t *header_line = lv_line_create(list); - static lv_point_t header_points[] = {{0, 0}, {280, 0}}; + static lv_point_precise_t header_points[] = {{0, 0}, {280, 0}}; lv_line_set_points(header_line, header_points, 2); lv_obj_set_style_line_color(header_line, Theme::textDim(), 0); lv_obj_set_style_line_width(header_line, 1, 0);