From cb5796e65c7c9f11f721926c044af8eae3cec965 Mon Sep 17 00:00:00 2001 From: liamcharger Date: Thu, 2 Jan 2025 10:08:54 -0500 Subject: [PATCH] Add comment explaining two labels --- src/displayapp/screens/WatchFaceNumerals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/WatchFaceNumerals.cpp b/src/displayapp/screens/WatchFaceNumerals.cpp index be676ecb55..542b6aea9c 100644 --- a/src/displayapp/screens/WatchFaceNumerals.cpp +++ b/src/displayapp/screens/WatchFaceNumerals.cpp @@ -50,7 +50,7 @@ WatchFaceNumerals::WatchFaceNumerals(Controllers::DateTime& dateTimeController, lv_obj_set_style_local_text_font(labelTimeAMPM1, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, font_small); lv_obj_set_style_local_text_color(labelTimeAMPM1, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x999999)); lv_obj_align(labelTimeAMPM1, lv_scr_act(), LV_ALIGN_IN_BOTTOM_LEFT, 2, -34); - + // We use two labels for more flexibility with alignment labelTimeAMPM2 = lv_label_create(lv_scr_act(), nullptr); lv_label_set_text_static(labelTimeAMPM2, "M"); lv_obj_set_style_local_text_font(labelTimeAMPM2, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, font_small);