diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2023-11-08 20:55:42 +0100 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2023-11-11 18:07:07 +0100 |
| commit | b191a30947353c57b8c7827925773633b6669b7f (patch) | |
| tree | cf348a6a147437fcb3ead2523bbffe8d0db8251f /src/displayapp/screens/Navigation.cpp | |
| parent | d930fd4fa2be3f8570f85fe17d7cc0208c2eb4ec (diff) | |
Tidy up
Diffstat (limited to 'src/displayapp/screens/Navigation.cpp')
| -rw-r--r-- | src/displayapp/screens/Navigation.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/displayapp/screens/Navigation.cpp b/src/displayapp/screens/Navigation.cpp index 2985ee65..ee9f2a00 100644 --- a/src/displayapp/screens/Navigation.cpp +++ b/src/displayapp/screens/Navigation.cpp @@ -206,8 +206,7 @@ Navigation::Navigation(Pinetime::Controllers::NavigationService& nav) : navServi lv_label_set_long_mode(txtNarrative, LV_LABEL_LONG_DOT); lv_obj_set_width(txtNarrative, LV_HOR_RES); lv_obj_set_height(txtNarrative, 80); - //lv_label_set_text_static(txtNarrative, "Navigation"); - lv_label_set_text(txtNarrative, "Navigation blah blah very long text really long road name etc etc etc"); + lv_label_set_text_static(txtNarrative, "Navigation"); lv_label_set_align(txtNarrative, LV_LABEL_ALIGN_CENTER); lv_obj_align(txtNarrative, nullptr, LV_ALIGN_CENTER, 0, 30); @@ -216,8 +215,7 @@ Navigation::Navigation(Pinetime::Controllers::NavigationService& nav) : navServi lv_obj_set_style_local_text_color(txtManDist, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_GREEN); lv_obj_set_style_local_text_font(txtManDist, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &jetbrains_mono_42); lv_obj_set_width(txtManDist, LV_HOR_RES); - //lv_label_set_text_static(txtManDist, "--M"); - lv_label_set_text_static(txtManDist, "123m"); + lv_label_set_text_static(txtManDist, "--M"); lv_label_set_align(txtManDist, LV_LABEL_ALIGN_CENTER); lv_obj_align(txtManDist, nullptr, LV_ALIGN_CENTER, 0, 90); |
