updated ListRightVariableTotalData
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
2e03cec5be
commit
81a5d5099f
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
override open func setupView() {
|
override open func setupView() {
|
||||||
super.setupView()
|
super.setupView()
|
||||||
bar.setStyle(.heavy)
|
bar.setStyle(.primary)
|
||||||
bar.widthAnchor.constraint(equalToConstant: 20).isActive = true
|
bar.widthAnchor.constraint(equalToConstant: 20).isActive = true
|
||||||
rightLabel.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 900), for: .horizontal)
|
rightLabel.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 900), for: .horizontal)
|
||||||
addMolecule(stack)
|
addMolecule(stack)
|
||||||
@ -74,7 +74,7 @@
|
|||||||
super.reset()
|
super.reset()
|
||||||
leftLabel.setFontStyle(.BoldBodySmall)
|
leftLabel.setFontStyle(.BoldBodySmall)
|
||||||
rightLabel.setFontStyle(.RegularBodySmall)
|
rightLabel.setFontStyle(.RegularBodySmall)
|
||||||
bar.setStyle(.heavy)
|
bar.setStyle(.primary)
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
@ -24,7 +24,7 @@ public class ListRightVariableTotalDataModel: ListItemModel, MoleculeModelProtoc
|
|||||||
override public func setDefaults() {
|
override public func setDefaults() {
|
||||||
super.setDefaults()
|
super.setDefaults()
|
||||||
rightLabel.hero = 0
|
rightLabel.hero = 0
|
||||||
bar.type = .heavy
|
bar.type = .primary
|
||||||
|
|
||||||
if bar.backgroundColor == nil {
|
if bar.backgroundColor == nil {
|
||||||
bar.backgroundColor = Color(uiColor: .mvmBlue)
|
bar.backgroundColor = Color(uiColor: .mvmBlue)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user