camtest: improve QR label

This commit is contained in:
Thomas Farstrike
2025-05-16 10:40:00 +02:00
parent 010107959d
commit 369625f4cb
2 changed files with 3 additions and 3 deletions
@@ -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)
+1 -1
View File
@@ -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