fixed bug of accidental removal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
00f1418e69
commit
aba977dd77
@ -21,6 +21,9 @@ public class Badge: View, Accessable {
|
|||||||
private var label = Label().with {
|
private var label = Label().with {
|
||||||
$0.setContentCompressionResistancePriority(.required, for: .vertical)
|
$0.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||||
$0.adjustsFontSizeToFitWidth = false
|
$0.adjustsFontSizeToFitWidth = false
|
||||||
|
$0.lineBreakMode = .byTruncatingTail
|
||||||
|
$0.textPosition = .left
|
||||||
|
$0.typograpicalStyle = .BoldBodySmall
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user