We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46a924 commit 28602a6Copy full SHA for 28602a6
lib/gui/src/navScr_tdeck.cpp
@@ -62,7 +62,7 @@ void navigationScr(_lv_obj_t *screen)
62
distNav = lv_label_create(screen);
63
lv_obj_set_style_text_font(distNav, fontVeryLarge, 0);
64
lv_label_set_text_fmt(distNav,"%d m.", 0);
65
- lv_obj_set_pos(label,(TFT_WIDTH - 150) - ( lv_obj_get_width(label) / 2 ) , 40);
+ lv_obj_set_pos(distNav,(TFT_WIDTH - 150) - ( lv_obj_get_width(distNav) / 2 ) , 40);
66
67
arrowNav = lv_img_create(screen);
68
lv_img_set_zoom(arrowNav,iconScale);
0 commit comments