style change

This commit is contained in:
Kruthika KP 2020-04-22 17:02:06 +05:30
parent 1d9e9761f1
commit 59622ac372

View File

@ -22,9 +22,9 @@ import Foundation
// MARK: - Initializers // MARK: - Initializers
//------------------------------------------------------ //------------------------------------------------------
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 37, horizontalAlignment: .leading)), stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 35, horizontalAlignment: .leading)),
(view: centerLabel, model: StackItemModel(percent: 33, horizontalAlignment: .leading)), (view: centerLabel, model: StackItemModel(percent: 35, horizontalAlignment: .leading)),
(view: rightLabel, model: StackItemModel(percent: 30, horizontalAlignment: .leading))], (view: rightLabel, model: StackItemModel(percent: 30, horizontalAlignment: .center))],
axis: .horizontal) axis: .horizontal)
super.init(style: style, reuseIdentifier: reuseIdentifier) super.init(style: style, reuseIdentifier: reuseIdentifier)
} }
@ -54,8 +54,8 @@ import Foundation
open override func reset() { open override func reset() {
super.reset() super.reset()
leftLabel.styleBoldBodySmall(true) leftLabel.styleRegularBodySmall(true)
centerLabel.styleBoldBodySmall(true) centerLabel.styleRegularBodySmall(true)
rightLabel.styleBoldBodySmall(true) rightLabel.styleRegularBodySmall(true)
} }
} }