Skip to content

Commit 7833670

Browse files
aveaoclaude
andcommitted
health: lower typical pill on round boards too
Apply the same half-Y-offset downward shift on round boards (gabbro/getafix) as the previous commit did for taller color rect boards, so the typical pill sits centered with breathing room on the large round displays. Regenerate gabbro goldens. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Ave Özkal <git@ave.zone>
1 parent 87f7412 commit 7833670

24 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/fw/apps/system/health/ui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void health_ui_render_typical_text_box(GContext *ctx, Layer *layer, const char *
7373
// typical pill to push it down a bit so it sits less cramped against the
7474
// progress bar above.
7575
const int y = PBL_IF_RECT_ELSE(PBL_IF_BW_ELSE(122, 120 + HEALTH_Y_OFFSET / 2),
76-
125) + HEALTH_Y_OFFSET;
76+
125 + HEALTH_Y_OFFSET / 2) + HEALTH_Y_OFFSET;
7777
GRect rect = GRect(0, y, layer->bounds.size.w, PBL_IF_RECT_ELSE(35, 36));
7878
#if PBL_RECT
7979
rect = grect_inset(rect, GEdgeInsets(0, HEALTH_INSET));
-4 Bytes
Loading
-17 Bytes
Loading
-10 Bytes
Loading
-6 Bytes
Loading
-8 Bytes
Loading
-14 Bytes
Loading
-11 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading

0 commit comments

Comments
 (0)