mirror of
https://github.com/esphome/esphome.git
synced 2026-05-27 20:53:46 +08:00
[lvgl] Fix format of hello world page (#15868)
This commit is contained in:
@@ -89,10 +89,12 @@
|
|||||||
id: hello_world_label_
|
id: hello_world_label_
|
||||||
text: "Hello World!"
|
text: "Hello World!"
|
||||||
align: center
|
align: center
|
||||||
- obj:
|
- container:
|
||||||
id: hello_world_qrcode_
|
id: hello_world_qrcode_
|
||||||
outline_width: 0
|
outline_width: 0
|
||||||
border_width: 0
|
border_width: 0
|
||||||
|
height: 100
|
||||||
|
width: 100
|
||||||
hidden: !lambda |-
|
hidden: !lambda |-
|
||||||
return lv_obj_get_width(lv_screen_active()) < 300 && lv_obj_get_height(lv_screen_active()) < 400;
|
return lv_obj_get_width(lv_screen_active()) < 300 && lv_obj_get_height(lv_screen_active()) < 400;
|
||||||
widgets:
|
widgets:
|
||||||
|
|||||||
Reference in New Issue
Block a user