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()
}
}
}
}
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too