[lvgl] Allow setting text directly on a button (#11964)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Clyde Stubbs
2025-11-27 09:06:40 +10:00
committed by GitHub
parent a2d9941c62
commit 927d3715c1
6 changed files with 115 additions and 26 deletions

View File

@@ -426,6 +426,14 @@ lvgl:
logger.log: Long pressed repeated
- buttons:
- id: button_e
- button:
id: button_with_text
text: Button
on_click:
lvgl.button.update:
id: button_with_text
text: Clicked
- button:
layout: 2x1
id: button_button