style change
This commit is contained in:
parent
1d9e9761f1
commit
59622ac372
@ -22,9 +22,9 @@ import Foundation
|
||||
// MARK: - Initializers
|
||||
//------------------------------------------------------
|
||||
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
|
||||
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 37, horizontalAlignment: .leading)),
|
||||
(view: centerLabel, model: StackItemModel(percent: 33, horizontalAlignment: .leading)),
|
||||
(view: rightLabel, model: StackItemModel(percent: 30, horizontalAlignment: .leading))],
|
||||
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 35, horizontalAlignment: .leading)),
|
||||
(view: centerLabel, model: StackItemModel(percent: 35, horizontalAlignment: .leading)),
|
||||
(view: rightLabel, model: StackItemModel(percent: 30, horizontalAlignment: .center))],
|
||||
axis: .horizontal)
|
||||
super.init(style: style, reuseIdentifier: reuseIdentifier)
|
||||
}
|
||||
@ -54,8 +54,8 @@ import Foundation
|
||||
|
||||
open override func reset() {
|
||||
super.reset()
|
||||
leftLabel.styleBoldBodySmall(true)
|
||||
centerLabel.styleBoldBodySmall(true)
|
||||
rightLabel.styleBoldBodySmall(true)
|
||||
leftLabel.styleRegularBodySmall(true)
|
||||
centerLabel.styleRegularBodySmall(true)
|
||||
rightLabel.styleRegularBodySmall(true)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user