Hey. I have a form with 2 buttons. Now I would like to have a little space between these two buttons. Exactly like in this example:
Does anyone know how to implement this? I appreciate help!
Hey. I have a form with 2 buttons. Now I would like to have a little space between these two buttons. Exactly like in this example:
Does anyone know how to implement this? I appreciate help!
Use form:
Form {
Section("If you have a title add here") {
Button {
} label: {
Label("Test", systemImage: "circle.fill")
}
Section {
Button(role: .destructive) {
} label: {
Label("Test", systemImage: "trash.fill")
}
}
}