diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-31 14:56:45 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-31 14:56:45 (GMT) |
| commit | ea0b6d97a43ac4c11bedefb0e71851e5292c1370 (patch) | |
| tree | 270034d9ce0534e043bcfb48a78830e7d96571e8 /src/displayapp/screens/Timer.cpp | |
| parent | 2c23b1cc6911a14dba14fcc04ac52995d672ebcd (diff) | |
mix work
Diffstat (limited to 'src/displayapp/screens/Timer.cpp')
| -rw-r--r-- | src/displayapp/screens/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Timer.cpp b/src/displayapp/screens/Timer.cpp index 3b21277..f96ec47 100644 --- a/src/displayapp/screens/Timer.cpp +++ b/src/displayapp/screens/Timer.cpp @@ -58,7 +58,7 @@ Timer::Timer(DisplayApp* app, Controllers::TimerController& timerController) uint32_t seconds = timerController.GetTimeRemaining() / 1000; lv_label_set_text_fmt(time, "%02lu:%02lu", seconds / 60, seconds % 60); - lv_obj_align(time, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 0, -20); + lv_obj_align(time, lv_scr_act(), LV_ALIGN_CENTER, 0, -20); btnPlayPause = lv_btn_create(lv_scr_act(), nullptr); btnPlayPause->user_data = this; |
