File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Sources/YComponentBrowser/UI Components/Generic Views Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ final public class CatalogDisplayView<View: ContentView>: UIView {
51
51
static func margin( for edge: Edge ) -> CGFloat {
52
52
switch edge {
53
53
case . leading, . top:
54
- return 10
54
+ return 16
55
55
case . trailing, . bottom:
56
- return - 10
56
+ return - 16
57
57
}
58
58
}
59
59
}
@@ -66,7 +66,7 @@ final public class CatalogDisplayView<View: ContentView>: UIView {
66
66
private let titleLabel : UILabel = {
67
67
let label = UILabel ( )
68
68
69
- label. font = UIFont . preferredFont ( forTextStyle: . headline )
69
+ label. font = UIFont . preferredFont ( forTextStyle: . body )
70
70
label. textColor = UIColor . label
71
71
72
72
return label
@@ -126,6 +126,9 @@ final public class CatalogDisplayView<View: ContentView>: UIView {
126
126
127
127
outerStackView. addArrangedSubview ( innerStackView)
128
128
outerStackView. addArrangedSubview ( displayView)
129
+
130
+ innerStackView. spacing = 4
131
+ outerStackView. spacing = 8
129
132
130
133
self . addSubview ( outerStackView)
131
134
You can’t perform that action at this time.
0 commit comments