Skip to content

Conversation

@dfabulich
Copy link
Contributor

We're adding a new environment variable so the grid/stack/list can convey an axis to the Section, so it knows whether to make a VStack or an HStack.

(Should I be using a SkipUI VStack/HStack for this…? Is there a better way?)

Fixes #311

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

We're adding a new environment variable so the grid/stack/list can convey an axis to the `Section`, so it knows whether to make a VStack or an HStack.

Fixes skiptools#311
@cla-bot cla-bot bot added the cla-signed label Jan 20, 2026
@marcprux marcprux requested a review from aabewhite January 23, 2026 16:29
@marcprux marcprux added this to Skip Jan 23, 2026
@marcprux marcprux moved this to Todo in Skip Jan 23, 2026
@aabewhite
Copy link
Contributor

I took a look at this, and I think there's a better/simpler way to do it. But in the process of investigating I found a bug in our header/footer logic. Right now it's minor and only affects spacing of the top header. But it also would prevent my idea from working. So I'd prefer to wait on this until I have time to both fix the bug and then apply my idea

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

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Section headers only render their first element

2 participants