mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 11:26:39 +00:00
[lvgl] Allow setting text directly on a button (#11964)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
co-authored by
J. Nick Koston
parent
a2d9941c62
commit
927d3715c1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user