Fix button heights

This commit is contained in:
Christoph Hagen 2023-11-10 13:46:43 +01:00
parent b0f2bdf430
commit abf61463fe

View File

@ -51,6 +51,7 @@ struct ContentView: View {
}) { }) {
Label("Export", systemSymbol: .squareAndArrowDown) Label("Export", systemSymbol: .squareAndArrowDown)
.padding(3) .padding(3)
.frame(maxHeight: 20)
}.confirmationDialog( }.confirmationDialog(
"Which format would you like?", "Which format would you like?",
isPresented: $showExportFormatPicker isPresented: $showExportFormatPicker
@ -65,6 +66,7 @@ struct ContentView: View {
Button(action: importData) { Button(action: importData) {
Label("Import", systemSymbol: .docBadgePlus) Label("Import", systemSymbol: .docBadgePlus)
.padding(8) .padding(8)
.frame(maxHeight: 20)
} }
Spacer() Spacer()
Toggle("Dark mode", isOn: $darkModeEnabled) Toggle("Dark mode", isOn: $darkModeEnabled)