fix(examples) adjust constant names in Micropython examples (#3532)

Due to spurious enums (https://github.com/lvgl/lv_binding_micropython/issues/199) wrong constant names were generated. Fix these constants.
This commit is contained in:
Amir Gonnen
2022-07-30 18:10:56 +03:00
committed by GitHub
parent 2461ac0758
commit 7a23be73ab
38 changed files with 64 additions and 64 deletions

View File

@@ -7,7 +7,7 @@ style.set_radius(5)
# Make a gradient
style.set_width(150)
style.set_height(lv.SIZE.CONTENT)
style.set_height(lv.SIZE_CONTENT)
style.set_pad_ver(20)
style.set_pad_left(5)

View File

@@ -14,7 +14,7 @@ style_base.set_shadow_ofs_y(5)
style_base.set_shadow_opa(lv.OPA._50)
style_base.set_text_color(lv.color_white())
style_base.set_width(100)
style_base.set_height(lv.SIZE.CONTENT)
style_base.set_height(lv.SIZE_CONTENT)
# Set only the properties that should be different
style_warning = lv.style_t()