fixes
This commit is contained in:
parent
87dcde3317
commit
cf4832bca7
@ -168,19 +168,19 @@ open class IsaacLandingTemplate: MoleculeListTemplate {
|
|||||||
let messageStackItem = MoleculeStackItemModel(with: messageLabel)
|
let messageStackItem = MoleculeStackItemModel(with: messageLabel)
|
||||||
|
|
||||||
let itemStack = MoleculeStackModel(molecules: [titleStackItem, messageStackItem])
|
let itemStack = MoleculeStackModel(molecules: [titleStackItem, messageStackItem])
|
||||||
itemStack.useVerticalMargins = false
|
itemStack.verticalAlignment = .top
|
||||||
itemStack.topMarginPadding = 0
|
|
||||||
|
|
||||||
itemStack.verticalAlignment = .leading
|
|
||||||
itemStack.axis = .vertical
|
|
||||||
itemStack.spacing = 0
|
itemStack.spacing = 0
|
||||||
|
|
||||||
stackItems.append(MoleculeStackItemModel(with: itemStack))
|
let horizontalStack = MoleculeStackItemModel(with: itemStack)
|
||||||
|
horizontalStack.verticalAlignment = .top
|
||||||
|
stackItems.append(horizontalStack)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stackItems.first?.percent = 35
|
||||||
|
stackItems.last?.percent = 65
|
||||||
let stack = MoleculeStackModel(molecules: stackItems)
|
let stack = MoleculeStackModel(molecules: stackItems)
|
||||||
stack.axis = .horizontal
|
stack.axis = .horizontal
|
||||||
stack.spacing = 65
|
stack.horizontalAlignment = .leading
|
||||||
stack.verticalAlignment = .leading
|
stack.verticalAlignment = .leading
|
||||||
|
|
||||||
let listItem = MoleculeListItemModel(with: stack)
|
let listItem = MoleculeListItemModel(with: stack)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user