[lvgl] Apply scale to spinbox value (#11946)

This commit is contained in:
Clyde Stubbs
2025-11-18 14:27:50 +10:00
committed by Jesse Hills
parent e8998a79c7
commit 70aa94b8a4
2 changed files with 7 additions and 2 deletions

View File

@@ -703,7 +703,9 @@ lvgl:
on_value:
- lvgl.spinbox.update:
id: spinbox_id
value: !lambda return x;
value: !lambda |-
static float yyy = 83.0;
return yyy + .8;
- button:
styles: spin_button
id: spin_up