Move button

This commit is contained in:
Thomas Farstrike
2025-04-19 01:13:56 +02:00
parent e06c80aad2
commit 125fd25264
+1 -1
View File
@@ -131,7 +131,7 @@ scr.set_style_bg_color(lv.color_hex(0x000000), 0)
# Create a button (using lv.obj as a base)
btn = lv.obj(scr)
btn.set_size(100, 50)
btn.align(lv.ALIGN.LEFT, 20, 20)
btn.align(lv.ALIGN.LEFT, 40, 40)
# Add button style
style = lv.style_t()