Skip to content

Commit ae89966

Browse files
committed
Adjusted font in example app
1 parent 1f9beb6 commit ae89966

File tree

1 file changed

+13
-7
lines changed
  • Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample/Views

1 file changed

+13
-7
lines changed

Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample/Views/ContentView.swift

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,26 @@ struct ContentView: View {
6666
}
6767

6868
Spacer()
69-
if isInLongParse {
70-
HStack(spacing: 5) {
71-
ProgressView()
72-
.controlSize(.small)
73-
Text("Parsing Document")
69+
Group {
70+
if isInLongParse {
71+
HStack(spacing: 5) {
72+
ProgressView()
73+
.controlSize(.small)
74+
Text("Parsing Document")
75+
}
76+
} else {
77+
Text(getLabel(cursorPositions))
7478
}
75-
} else {
76-
Text(getLabel(cursorPositions))
7779
}
80+
.foregroundStyle(.secondary)
7881
Divider()
7982
.frame(height: 12)
8083
LanguagePicker(language: $language)
8184
.buttonStyle(.borderless)
8285
}
86+
.font(.subheadline)
87+
.fontWeight(.medium)
88+
.controlSize(.small)
8389
.padding(.horizontal, 8)
8490
.frame(height: 28)
8591
}

0 commit comments

Comments
 (0)