Skip to content

Commit

Permalink
Increase size of the alarm info button
Browse files Browse the repository at this point in the history
This button shows the duration of the alarm but is hard to hit with the default size.
  • Loading branch information
dariusarnold committed Mar 2, 2025
1 parent 09df02e commit 0ca7451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displayapp/screens/Alarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Alarm::Alarm(Controllers::AlarmController& alarmController,
btnInfo = lv_btn_create(lv_scr_act(), nullptr);
btnInfo->user_data = this;
lv_obj_set_event_cb(btnInfo, btnEventHandler);
lv_obj_set_size(btnInfo, 50, 50);
lv_obj_set_size(btnInfo, 62, 62);
lv_obj_align(btnInfo, lv_scr_act(), LV_ALIGN_IN_TOP_MID, 0, -4);
lv_obj_set_style_local_bg_color(btnInfo, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, bgColor);
lv_obj_set_style_local_border_width(btnInfo, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, 4);
Expand Down

0 comments on commit 0ca7451

Please sign in to comment.