You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
camtest: improve QR label
This commit is contained in:
@@ -189,8 +189,8 @@ def build_ui():
|
||||
})
|
||||
image.set_src(image_dsc)
|
||||
status_label_cont = lv.obj(appscreen)
|
||||
status_label_cont.set_size(width,height)
|
||||
status_label_cont.align(lv.ALIGN.LEFT_MID, 0, 0)
|
||||
status_label_cont.set_size(lv.pct(66),lv.pct(60))
|
||||
status_label_cont.align(lv.ALIGN.LEFT_MID, lv.pct(5), 0)
|
||||
status_label_cont.set_style_bg_color(lv.color_white(), 0)
|
||||
status_label_cont.set_style_bg_opa(66, 0)
|
||||
status_label_cont.set_style_border_width(0, 0)
|
||||
|
||||
@@ -54,7 +54,7 @@ def open_bar():
|
||||
print("opening bar...")
|
||||
global bar_open, show_bar_animation, hide_bar_animation, notification_bar
|
||||
if not bar_open:
|
||||
print("not open so opening...")
|
||||
#print("not open so opening...")
|
||||
bar_open=True
|
||||
hide_bar_animation.current_value = hide_bar_animation_end_value
|
||||
#show_bar_animation.current_value = hide_bar_animation_start_value
|
||||
|
||||
Reference in New Issue
Block a user