Merge branch 'bugfix/dropdownTokensUpdate' into 'develop'
updated for tokens See merge request BPHV_MIPS/vds_ios!203
This commit is contained in:
commit
25731618b7
@ -124,7 +124,7 @@ open class BadgeIndicator: View {
|
||||
case .xlarge, .large, .medium:
|
||||
horizontalPadding = 6.0
|
||||
case .small:
|
||||
horizontalPadding = VDSLayout.Spacing.space1X.value
|
||||
horizontalPadding = VDSLayout.space1X
|
||||
}
|
||||
return .axis(horizontal: horizontalPadding, vertical: verticalPadding)
|
||||
}
|
||||
|
||||
@ -7,8 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
import VDSColorTokens
|
||||
import VDSFormControlsTokens
|
||||
import VDSTokens
|
||||
import Combine
|
||||
|
||||
/// A dropdown select is an expandable menu of predefined options that allows a customer to make a single selection.
|
||||
@ -121,8 +120,8 @@ open class DropdownSelect: EntryFieldBase {
|
||||
controlStackView.addArrangedSubview(selectedOptionLabel)
|
||||
|
||||
controlStackView.setCustomSpacing(0, after: dropdownField)
|
||||
controlStackView.setCustomSpacing(VDSLayout.Spacing.space1X.value, after: inlineDisplayLabel)
|
||||
controlStackView.setCustomSpacing(VDSLayout.Spacing.space3X.value, after: selectedOptionLabel)
|
||||
controlStackView.setCustomSpacing(VDSLayout.space1X, after: inlineDisplayLabel)
|
||||
controlStackView.setCustomSpacing(VDSLayout.space3X, after: selectedOptionLabel)
|
||||
dropdownField.width(0)
|
||||
inlineWidthConstraint = inlineDisplayLabel.widthAnchor.constraint(greaterThanOrEqualToConstant: 0)
|
||||
inlineWidthConstraint?.isActive = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user