1

I have the following column structure defined for a VGrid:

let columns = [
    GridItem(.flexible()),
    GridItem(.flexible(), alignment: .topLeading),
    GridItem(.flexible(), alignment: .topTrailing),
    GridItem(.flexible(), alignment: .topTrailing),
]

However, for the first column, I want to align center vertically, but to the leading edge. There don't appear to be any options to do this (e.g. .centerLeading). Wondering if there is another way around this.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
DevB1
  • 1,235
  • 3
  • 17
  • 43
  • The new [Grid](https://developer.apple.com/documentation/swiftui/grid?changes=_6) might help the RC version of Xcode 14 would be out very soon – lorem ipsum Sep 06 '22 at 22:03

0 Answers0