Added number of lines for rightlabel.

This commit is contained in:
Lekshmi S 2021-02-16 07:24:36 +05:30
parent 98e8038360
commit a1b7e81dfc

View File

@ -38,6 +38,7 @@
super.setupView()
rightLabel.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 900), for: .horizontal)
rightLabel.setContentHuggingPriority(UILayoutPriority(rawValue: 900), for: .horizontal)
rightLabel.numberOfLines = 1
addMolecule(stack)
stack.restack()
}