mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Preferences UI adjustments
This commit is contained in:
parent
a740b3be08
commit
e6ee43a169
3 changed files with 4 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ struct GeneralPreferencePane: View {
|
|||
.environmentObject(appState)
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
.frame(width: 500)
|
||||
.frame(width: 400)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue