I developing a macOS app. In the SwiftUI, i can't change a button's size. I tried a code like this but it didn't work:
frame(width:200,height:200)
This code is working in all objects but not working in button.
I developing a macOS app. In the SwiftUI, i can't change a button's size. I tried a code like this but it didn't work:
frame(width:200,height:200)
This code is working in all objects but not working in button.
Buttons are special. Google "swiftui macos big button" and you'll get some useful links. e.g. https://sarunw.com/posts/swiftui-button-size/ and https://stackoverflow.com/questions/59290097/in-swiftui-how-do-i-increase-the-height-of-a-button