fix(ui-lvgl): popups no longer shrink when their list is pulled past its end

LVGL 9.2.2 measures a SIZE_CONTENT box from its children as scrolled, so an
elastic pull past the end of a capped popup list shrank it by the overshoot,
again on every pull. lvgl_patches.py fixes calc_content_height in the
downloaded library (a build middleware for PlatformIO, called directly by the
sim's build_wasm.sh).

The five popups that each built the same panel now share popupOpen() (fit to
content / full height / under the status bar).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-09-28 14:45:19 +02:00
co-authored by Claude Opus 5.5
parent ff6354fd05
commit 9d4f018696
7 changed files with 104 additions and 75 deletions
+3
View File
@@ -70,6 +70,9 @@ build_flags =
-D NEARBY_MAX=64
-D HIST_ARCHIVE ; message history also on the SD card (ui-lvgl/HistoryStore.h)
-D GPS_SKYVIEW ; satellites / signal / DOPs for the GPS screen (helpers/sensors/GpsSky.h)
extra_scripts =
${esp32_base.extra_scripts}
pre:examples/companion_radio/ui-lvgl/lvgl_patches.py ; fixes to LVGL itself
build_src_filter = ${Wio_Tracker_L2.build_src_filter}
+<helpers/esp32/*.cpp>
+<helpers/ui/LGFXDisplay.cpp>