Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchface: add weather option to Casio style watchface #2099

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fix alignment of weather segments
Ghoelian committed Jan 26, 2025
commit 34731a24902a93b2f6a7697601185d8275df8a0b
4 changes: 2 additions & 2 deletions src/displayapp/screens/WatchFaceCasioStyleG7710.cpp
Original file line number Diff line number Diff line change
@@ -420,9 +420,9 @@ void WatchFaceCasioStyleG7710::UpdateWeatherPosition() {
lv_obj_set_hidden(label_week_number, true);

lv_obj_set_hidden(label_temperature, false);
lv_obj_align(weatherIcon, nullptr, LV_ALIGN_IN_TOP_LEFT, 35, 15);
lv_obj_align(weatherIcon, label_day_of_week, LV_ALIGN_CENTER, 0, -50);
lv_label_set_align(label_temperature, LV_LABEL_ALIGN_CENTER);
lv_obj_align(label_temperature, nullptr, LV_ALIGN_IN_TOP_LEFT, 20, 40);
lv_obj_align(label_temperature, label_day_of_week, LV_ALIGN_CENTER, 0, -27);
break;
case Controllers::Settings::CasioWeatherSegment::DayOfWeek:
lv_obj_set_hidden(label_day_of_week, true);