As you can see in the screenshot, the button height does not adjust to fit the text size, making it look ugly. How can I increase the hight of the buttons, so it does not lo
Please try below Code:
Button(action: { //do action }) { Text("SIGN IN") .frame(width: 200 , height: 50, alignment: .center) //You need to change height & width as per your requirement } .background(Color.blue) .foregroundColor(Color.white) .cornerRadius(5)
Output