Preferences UI adjustments

This commit is contained in:
Matt Kiazyk 2021-01-28 10:48:56 -06:00 committed by Brandon Evans
parent a740b3be08
commit e6ee43a169
No known key found for this signature in database
GPG key ID: D58A4B8DB64F8E93
3 changed files with 4 additions and 7 deletions

View file

@ -8,7 +8,7 @@ struct AdvancedPreferencePane: View {
var body: some View {
VStack(alignment: .leading, spacing: 20) {
GroupBox(label: Text("DataSource")) {
GroupBox(label: Text("Data Source")) {
VStack(alignment: .leading) {
Picker("Data Source", selection: $dataSource) {
ForEach(DataSource.allCases) { dataSource in
@ -66,8 +66,7 @@ struct AdvancedPreferencePane: View {
}
.groupBoxStyle(PreferencesGroupBoxStyle())
}
.padding()
.frame(width: 500)
.frame(width: 400)
}
private var dataSourceFootnote: NSAttributedString {

View file

@ -29,8 +29,7 @@ struct GeneralPreferencePane: View {
.environmentObject(appState)
}
}
.padding()
.frame(width: 500)
.frame(width: 400)
}
}

View file

@ -28,8 +28,7 @@ struct UpdatesPreferencePane: View {
.frame(maxWidth: .infinity, alignment: .leading)
}
.groupBoxStyle(PreferencesGroupBoxStyle())
.padding()
.frame(width: 500)
.frame(width: 400)
}
private var lastUpdatedString: String {