I added two ToolbarItem. One is Menu and the other is Button.
.toolbar {
// Menu
ToolbarItem(placement: .navigationBarTrailing) {
Menu(content: {
Text("hello world")
}, label: {
Image(systemName: "gear")
})
}
// Button
ToolbarItem(placement: .navigationBarTrailing) {
Button(action: {
print("button touched")
}, label: {
Image(systemName: "gear")
})
}
}
Even if I use same image as a label, the size is different. The result is like this.
I want to make menu label image size big as button, so that user can touch it more easily.
