Digital ACT-191 ONEAPP-7135 story: Text Overflow handling, did set transparent background if is true
This commit is contained in:
parent
fdc66fe29b
commit
149fda901d
@ -132,6 +132,7 @@ open class DropdownSelect: Control {
|
||||
$0.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||
$0.textAlignment = .left
|
||||
$0.textStyle = .bodyLarge
|
||||
$0.lineBreakMode = .byCharWrapping
|
||||
}
|
||||
|
||||
private var icon: Icon = Icon().with {
|
||||
@ -275,7 +276,8 @@ open class DropdownSelect: Control {
|
||||
container.layer.cornerRadius = VDSFormControls.borderradius
|
||||
container.layer.borderColor = readOnly ? readOnlyBorderColorConfiguration.getColor(self).cgColor : (showError ? errorBorderColorConfiguration.getColor(self).cgColor : containerBorderColorConfiguration.getColor(self).cgColor)
|
||||
dropdownField.isUserInteractionEnabled = readOnly ? false : true
|
||||
|
||||
stackView.backgroundColor = transparentBackground ? .clear : surface.color
|
||||
|
||||
updateTitleLabel()
|
||||
updateInlineLabel()
|
||||
updateErrorLabel()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user