I want to increase the icon button of the Menu
in SwiftUI for a macOS app, but modifiers such as .imageScale(.large)
, .resizable()
, .scaleEffect(1.2)
, and changing font
doesn't work.
image
Menu {
Button("Quit") {}
} label: {
Image(systemName: "gear")
.font(.title)
.resizable()
.scaleEffect(1.2)
.imageScale(.large)
}
.menuStyle(.borderlessButton)
.menuIndicator(.hidden)
How can I change icon size?