Skip to content

Fix Xcode 26 layout issue in bolus and carb entry views#68

Open
gestrich wants to merge 1 commit intodevfrom
fix_xcode26_layout_hstack
Open

Fix Xcode 26 layout issue in bolus and carb entry views#68
gestrich wants to merge 1 commit intodevfrom
fix_xcode26_layout_hstack

Conversation

@gestrich
Copy link
Collaborator

@gestrich gestrich commented Mar 16, 2026

Issue 69

Summary

  • Building with Xcode 26 caused layout issues in the bolus and carb entry views where the unit text (U and g) was not laying out next to the amount field
  • Wrapped the amount TextField/Text and unit label in an HStack in both BolusInputView and CarbInputView to ensure proper side-by-side layout

See attached issue for broken views. Below is with this PR on a real device:

Screenshot 2026-03-16 at 8 20 03 PM Screenshot 2026-03-16 at 8 19 48 PM

Wrap amount text fields and unit labels in HStack to ensure the unit
text lays out next to the amount. Xcode 26 broke this layout in both
BolusInputView and CarbInputView.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gestrich gestrich force-pushed the fix_xcode26_layout_hstack branch from eb711b6 to 223da88 Compare March 17, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant