From 9d1e1f4f4ba284628d8442a81ce6f0df001f6624 Mon Sep 17 00:00:00 2001 From: Subhankar Acharya Date: Tue, 16 Jun 2020 20:16:52 +0530 Subject: [PATCH] Added horizontal hugging priority --- .../List/LeftVariable/ListLeftVariableNumberedListBodyText.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableNumberedListBodyText.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableNumberedListBodyText.swift index 572ede57..a0a7a462 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableNumberedListBodyText.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableNumberedListBodyText.swift @@ -39,6 +39,7 @@ import Foundation super.setupView() leftLabel.setContentCompressionResistancePriority(.required, for: .horizontal) leftLabel.setContentHuggingPriority(.defaultHigh, for: .vertical) + leftLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal) addMolecule(stack) stack.restack() }