My code:
It works as expected, but there's no space between the border and the text.
Code Block Text("alpha") .font(.subheadline) .background(RoundedRectangle(cornerRadius: .strokeBorder(lineWidth: 1))
It works as expected, but there's no space between the border and the text.