How do I add space inside a .strokeBorder?

My code:
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.
I must be missing something here.

I would have thought that cornerRadius was expecting a CGFloat.

Are you sure you posted a code that compiles ?
How do I add space inside a .strokeBorder?
 
 
Q