I have installed a button in the navigation bar. I have positioned it on the trailing edge. I am using an image to populate the button's label. The label appears right alignment. How can I centre this?
ToolbarItem(placement: .navigationBarTrailing) {
Button {
// action
} label: {
Image(systemName: "keyboard")
}
.border(.red, width: 1)
}

