fixed bug in word wrapping
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
ad1d2bf945
commit
2e2beee8c3
@ -93,7 +93,7 @@ open class DropdownSelect: EntryFieldBase {
|
||||
$0.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
$0.textAlignment = .left
|
||||
$0.textStyle = .boldBodyLarge
|
||||
$0.lineBreakMode = .byCharWrapping
|
||||
$0.numberOfLines = 1
|
||||
$0.sizeToFit()
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ open class DropdownSelect: EntryFieldBase {
|
||||
$0.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
$0.textAlignment = .left
|
||||
$0.textStyle = .bodyLarge
|
||||
$0.lineBreakMode = .byCharWrapping
|
||||
$0.numberOfLines = 1
|
||||
}
|
||||
|
||||
open var dropdownField = UITextField().with {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user