Skip to content

Display multiple elements in section headers#312

Closed
dfabulich wants to merge 1 commit intoskiptools:mainfrom
dfabulich:multi-element-section-headers
Closed

Display multiple elements in section headers#312
dfabulich wants to merge 1 commit intoskiptools:mainfrom
dfabulich:multi-element-section-headers

Conversation

@dfabulich
Copy link
Copy Markdown
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
Copy Markdown
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

@aabewhite
Copy link
Copy Markdown
Contributor

Thanks! Implemented in #328

@aabewhite aabewhite closed this Feb 9, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Skip Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Section headers only render their first element

3 participants