Skip to content

Commit 369625f

Browse files
camtest: improve QR label
1 parent 0101079 commit 369625f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal_filesystem/apps/com.example.camtest/assets/camtest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def build_ui():
189189
})
190190
image.set_src(image_dsc)
191191
status_label_cont = lv.obj(appscreen)
192-
status_label_cont.set_size(width,height)
193-
status_label_cont.align(lv.ALIGN.LEFT_MID, 0, 0)
192+
status_label_cont.set_size(lv.pct(66),lv.pct(60))
193+
status_label_cont.align(lv.ALIGN.LEFT_MID, lv.pct(5), 0)
194194
status_label_cont.set_style_bg_color(lv.color_white(), 0)
195195
status_label_cont.set_style_bg_opa(66, 0)
196196
status_label_cont.set_style_border_width(0, 0)

internal_filesystem/lib/mpos/ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def open_bar():
5454
print("opening bar...")
5555
global bar_open, show_bar_animation, hide_bar_animation, notification_bar
5656
if not bar_open:
57-
print("not open so opening...")
57+
#print("not open so opening...")
5858
bar_open=True
5959
hide_bar_animation.current_value = hide_bar_animation_end_value
6060
#show_bar_animation.current_value = hide_bar_animation_start_value

0 commit comments

Comments
 (0)