[lvgl] Add lvgl.widget.set_z_index action (#17993)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Clyde Stubbs
2026-08-05 14:14:32 +12:00
committed by GitHub
co-authored by Claude Sonnet 5
parent 0a99b007a9
commit 97d33a5679
4 changed files with 259 additions and 2 deletions
+19 -1
View File
@@ -756,7 +756,25 @@ lvgl:
on_defocus:
lvgl.widget.hide: hello_label
on_focus:
logger.log: Button clicked
- logger.log: Button clicked
- lvgl.widget.set_z_index:
id: hello_label
position: top
- lvgl.widget.set_z_index:
id: hello_label
position: bottom
- lvgl.widget.set_z_index:
id: hello_label
position: up
- lvgl.widget.set_z_index:
id: hello_label
position: down
- lvgl.widget.set_z_index:
id: hello_label
position: 1
- lvgl.widget.set_z_index:
id: hello_label
position: -1
on_scroll:
logger.log: Button clicked
on_scroll_end: