I am experimenting with SwiftUI. I do not know how to get a rounded button with a borderWidth. Below is the code that I have tried.
Here is my code
struct ArrowButton : View {
var body: some View {
return Button(action: {}) {
HStack {
Text("SEE ALL")
.font(.headline)
.color(Color.init(red: 0.627, green: 0.776, blue: 0.965))
Image(systemName: "arrow.right")
.font(Font.title.weight(.bold))
}
}
.padding(.all, 9.0)
.border(Color.init(red: 0.627, green: 0.776, blue: 0.965))
.cornerRadius(5.0)
}
}
What modifiers should i use to
- Increase the border width?
- Remove the clipping effect shown below?



