I have the same issue - does anyone have any pointers?
The best I have come up with is an HStack with an offset:
swift
HStack {
Text("My Text")
TextField("Enter Text", text: $myText)
}
.offset(CGSize(width: -70, height: 0))
But this is pretty ugly😬. I was considering playing around with NSFormCell - https://developer.apple.com/documentation/appkit/nsformcell but I'm not sure if this is the right way to go.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: