Skip to content

Commit 05590b4

Browse files
committed
Add spacing in TitleAndValueRow (same as in TitleAndTextFieldRow)
1 parent 7e6df72 commit 05590b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/Classes/ViewRelated/ReusableViews/SwiftUI Components/TitleAndValueRow.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct TitleAndValueRow: View {
5151
action()
5252
}, label: {
5353
HStack {
54-
AdaptiveStack(horizontalAlignment: .leading) {
54+
AdaptiveStack(horizontalAlignment: .leading, spacing: Constants.spacing) {
5555
Text(title)
5656
.style(bold: bold, highlighted: selectionStyle == .highlight)
5757
.multilineTextAlignment(.leading)
@@ -132,6 +132,7 @@ private extension TitleAndValueRow {
132132
static let maxHeight: CGFloat = 136
133133
static let horizontalPadding: CGFloat = 16
134134
static let verticalPadding: CGFloat = 12
135+
static let spacing: CGFloat = 20
135136
}
136137
}
137138

0 commit comments

Comments
 (0)