Percent update
This commit is contained in:
parent
a82f9b4aca
commit
bcffe0bbd2
@ -20,8 +20,8 @@ import Foundation
|
|||||||
|
|
||||||
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: 30, horizontalAlignment: .leading)),
|
stack = Stack<StackModel>.createStack(with: [(view: leftLabel, model: StackItemModel(percent: 30, horizontalAlignment: .leading)),
|
||||||
(view: centerLabel, model: StackItemModel(percent: 40, horizontalAlignment: .leading)),
|
(view: centerLabel, model: StackItemModel(percent: 50, horizontalAlignment: .leading)),
|
||||||
(view: rightLabel, model: StackItemModel(percent: 30, horizontalAlignment: .center))],
|
(view: rightLabel, model: StackItemModel(percent: 20, horizontalAlignment: .leading))],
|
||||||
axis: .horizontal)
|
axis: .horizontal)
|
||||||
super.init(style: style, reuseIdentifier: reuseIdentifier)
|
super.init(style: style, reuseIdentifier: reuseIdentifier)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public class ListThreeColumnInternationalDataDividerModel : ListItemModel, MoleculeModelProtocol {
|
public class ListThreeColumnInternationalDataDividerModel: ListItemModel, MoleculeModelProtocol {
|
||||||
public static var identifier: String = "list3CIntDataDiv"
|
public static var identifier: String = "list3CIntDataDiv"
|
||||||
public var leftLabel: LabelModel
|
public var leftLabel: LabelModel
|
||||||
public var centerLabel: LabelModel
|
public var centerLabel: LabelModel
|
||||||
public var rightLabel: LabelModel
|
public var rightLabel: LabelModel
|
||||||
|
|
||||||
public init (leftLabel:LabelModel, centerLabel:LabelModel, rightLabel:LabelModel) {
|
public init (leftLabel: LabelModel, centerLabel: LabelModel, rightLabel: LabelModel) {
|
||||||
self.leftLabel = leftLabel
|
self.leftLabel = leftLabel
|
||||||
self.centerLabel = centerLabel
|
self.centerLabel = centerLabel
|
||||||
self.rightLabel = rightLabel
|
self.rightLabel = rightLabel
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user