diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-10 15:20:13 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-10 15:20:13 (GMT) |
| commit | 19d20bb847fc1a670b9939f9c173af84eb04ca13 (patch) | |
| tree | 90d2e7f34b6e9550e2f200b4ddddfbbbdb1674a9 | |
| parent | 9a9a15f00c33f79e1b5fda59cda66ee3f25441b4 (diff) | |
Improve watch font sizes
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceDigital.cpp b/src/displayapp/screens/WatchFaceDigital.cpp index 0c7c86b..fa81418 100644 --- a/src/displayapp/screens/WatchFaceDigital.cpp +++ b/src/displayapp/screens/WatchFaceDigital.cpp @@ -78,7 +78,7 @@ WatchFaceDigital::WatchFaceDigital(DisplayApp* app, lv_obj_align(label_temp, lv_scr_act(), LV_ALIGN_CENTER, 60, -60); label_time = lv_label_create(lv_scr_act(), nullptr); - lv_obj_set_style_local_text_font(label_time, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &neofont2); + lv_obj_set_style_local_text_font(label_time, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &neofont3); lv_label_set_text_fmt(label_time, hhmm_label_text); lv_obj_align(label_time, nullptr, LV_ALIGN_CENTER, 0, 0); lv_label_set_long_mode(label_time, LV_LABEL_LONG_CROP); @@ -93,6 +93,7 @@ WatchFaceDigital::WatchFaceDigital(DisplayApp* app, lv_obj_align(label_time_seconds, label_time, LV_ALIGN_OUT_RIGHT_BOTTOM, 0, 0); label_time_deciseconds = lv_label_create(lv_scr_act(), nullptr); + lv_obj_set_style_local_text_font(label_time_deciseconds, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &neofont1); lv_label_set_text_static(label_time_deciseconds, seconds_label_text); lv_obj_align(label_time_deciseconds, label_time_seconds, LV_ALIGN_OUT_RIGHT_BOTTOM, 0, 0); |
