From f71117586f0ba7f921d35daeafe88833bbc1f727 Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Mon, 1 Feb 2021 14:43:35 -0500 Subject: [PATCH] updateds --- .../Molecules/VerticalCombinationViews/HeadlineBody.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Molecules/VerticalCombinationViews/HeadlineBody.swift b/MVMCoreUI/Atomic/Molecules/VerticalCombinationViews/HeadlineBody.swift index 93eace61..fb744f3e 100644 --- a/MVMCoreUI/Atomic/Molecules/VerticalCombinationViews/HeadlineBody.swift +++ b/MVMCoreUI/Atomic/Molecules/VerticalCombinationViews/HeadlineBody.swift @@ -59,7 +59,7 @@ open class HeadlineBody: View { func stylePageHeader() { headlineLabel.setFontStyle(.BoldTitleLarge) messageLabel.setFontStyle(.RegularBodySmall) - spaceBetweenLabelsConstant = Padding.Two + spaceBetweenLabelsConstant = Padding.One } func styleListItem() { @@ -90,7 +90,9 @@ open class HeadlineBody: View { addSubview(messageLabel) headlineLabel.setContentCompressionResistancePriority(.required, for: .vertical) + headlineLabel.setContentHuggingPriority(.required, for: .vertical) messageLabel.setContentCompressionResistancePriority(.required, for: .vertical) + messageLabel.setContentHuggingPriority(.required, for: .vertical) headlineLabel.topAnchor.constraint(equalTo: topAnchor).isActive = true