Skip to content

Commit 0ca7451

Browse files
committed
Increase size of the alarm info button
This button shows the duration of the alarm but is hard to hit with the default size.
1 parent 09df02e commit 0ca7451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/displayapp/screens/Alarm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Alarm::Alarm(Controllers::AlarmController& alarmController,
9898
btnInfo = lv_btn_create(lv_scr_act(), nullptr);
9999
btnInfo->user_data = this;
100100
lv_obj_set_event_cb(btnInfo, btnEventHandler);
101-
lv_obj_set_size(btnInfo, 50, 50);
101+
lv_obj_set_size(btnInfo, 62, 62);
102102
lv_obj_align(btnInfo, lv_scr_act(), LV_ALIGN_IN_TOP_MID, 0, -4);
103103
lv_obj_set_style_local_bg_color(btnInfo, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, bgColor);
104104
lv_obj_set_style_local_border_width(btnInfo, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, 4);

0 commit comments

Comments
 (0)