diff --git a/MVMCoreUI/Templates/IsaacLandingTemplate.swift b/MVMCoreUI/Templates/IsaacLandingTemplate.swift index 99c716d6..0001c744 100644 --- a/MVMCoreUI/Templates/IsaacLandingTemplate.swift +++ b/MVMCoreUI/Templates/IsaacLandingTemplate.swift @@ -168,19 +168,19 @@ open class IsaacLandingTemplate: MoleculeListTemplate { let messageStackItem = MoleculeStackItemModel(with: messageLabel) let itemStack = MoleculeStackModel(molecules: [titleStackItem, messageStackItem]) - itemStack.useVerticalMargins = false - itemStack.topMarginPadding = 0 - - itemStack.verticalAlignment = .leading - itemStack.axis = .vertical + itemStack.verticalAlignment = .top 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) stack.axis = .horizontal - stack.spacing = 65 + stack.horizontalAlignment = .leading stack.verticalAlignment = .leading let listItem = MoleculeListItemModel(with: stack)