Hi there! Decided to post a reply, as I found a working solution.
You can define custom grid items width and use it with LazyVGrid:
struct MyView: View {
let bulletListGridItems = [
GridItem(.fixed(10)),
GridItem()
]
var body: some View {
LazyVGrid(columns: bulletListGridItems, alignment: .leading, content: {
GridRow {
VStack(alignment: .leading, content: {
Text("•")
Spacer()
})
Text("Play the course as you find it and play the ball as it lies.")
}
}
}
This would return:
Note, I'm using a Stack with Spacer() to push the bullet to the top of the grid row
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: