From 0d6322b69312171dac883de1baed58ea8d2dccae Mon Sep 17 00:00:00 2001 From: Lekshmi S Date: Fri, 14 Feb 2020 16:02:05 +0530 Subject: [PATCH] Removed percent for stackitems. --- .../List/RightVariable/ListRightVariablePayments.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/Molecules/DesignedComponents/List/RightVariable/ListRightVariablePayments.swift b/MVMCoreUI/Molecules/DesignedComponents/List/RightVariable/ListRightVariablePayments.swift index 5f2870ec..626e8d42 100644 --- a/MVMCoreUI/Molecules/DesignedComponents/List/RightVariable/ListRightVariablePayments.swift +++ b/MVMCoreUI/Molecules/DesignedComponents/List/RightVariable/ListRightVariablePayments.swift @@ -54,9 +54,9 @@ import Foundation rightImage.setWithModel(model.image, delegateObject, additionalData) // Create a stack model to use for the internal stack and set the alignment of label and image - let leftLabel = StackItemModel(percent: 60) + let leftLabel = StackItemModel() leftLabel.horizontalAlignment = .leading - let rightImage = StackItemModel(percent: 40) + let rightImage = StackItemModel() rightImage.horizontalAlignment = .trailing let stackModel = StackModel(molecules: [leftLabel,rightImage]) stackModel.axis = .horizontal