1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[lvgl] Fix msgbox content (#7912)

This commit is contained in:
Clyde Stubbs
2024-12-04 07:48:50 +11:00
committed by GitHub
parent 00ddb0a427
commit a37ff2dbd9
2 changed files with 9 additions and 1 deletions

View File

@@ -109,6 +109,10 @@ lvgl:
close_button: true
title: Messagebox
bg_color: 0xffff
widgets:
- label:
text: Hello Msgbox
id: msgbox_label
body:
text: This is a sample messagebox
bg_color: 0x808080
@@ -137,6 +141,9 @@ lvgl:
- lvgl.widget.focus: mark
- lvgl.widget.redraw: hello_label
- lvgl.widget.redraw:
- lvgl.label.update:
id: msgbox_label
text: Unloaded
on_all_events:
logger.log:
format: "Event %s"