Skip to content

Commit 1b20172

Browse files
change font style in circular progress preview
1 parent 77ade46 commit 1b20172

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/CircularProgressPreview.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,7 @@ struct CircularProgressPreview: View {
3535
}
3636
Form {
3737
ComponentColorPicker(selection: self.$model.color)
38-
39-
Picker("Font", selection: self.$model.font) {
40-
Text("Default").tag(Optional<UniversalFont>.none)
41-
Text("Small").tag(UniversalFont.smButton)
42-
Text("Medium").tag(UniversalFont.mdButton)
43-
Text("Large").tag(UniversalFont.lgButton)
44-
Text("Custom: system bold of size 16").tag(UniversalFont.system(size: 16, weight: .bold))
45-
}
38+
CaptionFontPicker(selection: self.$model.font)
4639
Picker("Line Width", selection: self.$model.lineWidth) {
4740
Text("Default").tag(Optional<CGFloat>.none)
4841
Text("2").tag(Optional<CGFloat>.some(2))

0 commit comments

Comments
 (0)