Skip to content

Xcode 26 layout issue in bolus and carb entry views #69

Description

@gestrich

Description

Building with Xcode 26 causes layout issues in the bolus and carb entry views. The unit text (U for bolus, g for carbs) does not lay out next to the amount field/text as expected.

Steps to Reproduce

  1. Build with Xcode 26
  2. Open the Bolus entry view or Carb entry view
  3. Observe the unit label is not positioned next to the amount

Not the non-rendered emojis in screenshots area to be an Xcode 26.3.1 bug

Image
Image

Expected Behavior

The unit label should appear inline/next to the amount field.

Affected Views

  • BolusInputView — bolus amount and recommended bolus rows
  • CarbInputView — carb amount row

Fix

Wrapping the amount and unit label in an HStack resolves the layout. See PR #68.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions