change in alignment

This commit is contained in:
Kruthika KP 2020-04-30 18:47:30 +05:30
parent c0842d7740
commit 4d212d9c05
2 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,8 @@ import Foundation
//-------------------------------------------------------
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
stack = Stack<StackModel>.createStack(with: [(view: leftDropDown, model: StackItemModel(percent: 50, horizontalAlignment: .leading)),
(view: rightDropDown, model: StackItemModel(percent: 50, horizontalAlignment: .trailing))],
stack = Stack<StackModel>.createStack(with: [(view: leftDropDown, model: StackItemModel(percent: 50, horizontalAlignment: .fill)),
(view: rightDropDown, model: StackItemModel(percent: 50, horizontalAlignment: .fill))],
axis: .horizontal,spacing: 10)
super.init(style: style, reuseIdentifier: reuseIdentifier)
}

View File

@ -57,5 +57,4 @@ public class ListTwoColumnDropdownSelectorsModel: ListItemModel, MoleculeModelPr
try container.encode(leftDropDown, forKey: .leftDropDown)
try container.encode(rightDropDown, forKey: .rightDropDown)
}
}