Removing percentage.

This commit is contained in:
Subhankar Acharya 2020-02-28 19:44:23 +05:30
parent 207d1915d5
commit 19ce1087eb

View File

@ -39,9 +39,9 @@ import UIKit
eyebrowHeadlineBodyLink.setWithModel(model.eyebrowHeadlineBodyLink, delegateObject, additionalData)
// Create a stack model to use for the internal stack and set the alignment of labels
let stackModel = StackModel(molecules: [StackItemModel(percent:10,horizontalAlignment: .center),
StackItemModel(percent:10,horizontalAlignment: .fill),
StackItemModel(percent:80,horizontalAlignment: .leading)],
let stackModel = StackModel(molecules: [StackItemModel(horizontalAlignment: .fill),
StackItemModel(horizontalAlignment: .fill),
StackItemModel(horizontalAlignment: .leading)],
axis: .horizontal)
stack.model = stackModel
stack.restack()