Open
Description
How can I horizontally align to the center a section that is within a container?
struct KeyBindingsView: View {
private let contentWidth = 500.0
var body: some View {
Settings.Container(contentWidth: contentWidth) {
Settings.Section(title: "Section Title:") {
Settings.Section(title: "") {
KeyboardShortcuts.Recorder(for: .activate)
Text("Do something.")
.settingDescription()
}
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels