update percents to match divider.

This commit is contained in:
Pfeil, Scott Robert 2020-07-27 11:35:27 -04:00
parent 654e02ff8e
commit 70001b79c6
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ import Foundation
//------------------------------------------------------
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 40, horizontalAlignment: .leading)),
(view: centerLabel, model: StackItemModel(percent: 37, horizontalAlignment: .leading)),
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 44, horizontalAlignment: .leading)),
(view: centerLabel, model: StackItemModel(percent: 33, horizontalAlignment: .leading)),
(view: rightLabel, model: StackItemModel(percent: 23, horizontalAlignment: .leading))],
axis: .horizontal)
super.init(style: style, reuseIdentifier: reuseIdentifier)

View File

@ -22,7 +22,7 @@ public class ListThreeColumnBillChangesModel: ListItemModel, MoleculeModelProtoc
// MARK: - Initializer
//--------------------------------------------------
public init(leftLabel:LabelModel, centerLabel:LabelModel, rightLabel:LabelModel) {
public init(leftLabel: LabelModel, centerLabel: LabelModel, rightLabel: LabelModel) {
self.leftLabel = leftLabel
self.centerLabel = centerLabel
self.rightLabel = rightLabel