forked from organicmaps/organicmaps
[iOS] fix expandable label bg color (especially in night mode)
This commit is contained in:
parent
1ef8e96a66
commit
c996986282
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ final class ExpandableLabel: UIView {
|
|||
textView.text = text
|
||||
textView.attributedText = attributedText
|
||||
textView.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical)
|
||||
textView.backgroundColor = .clear
|
||||
expandLabel.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical)
|
||||
expandLabel.font = font
|
||||
expandLabel.textColor = expandColor
|
||||
|
|
Loading…
Add table
Reference in a new issue