diff --git a/MVMCoreUI/Atoms/Views/LeftRightLabelView.swift b/MVMCoreUI/Atoms/Views/LeftRightLabelView.swift index bb11374e..1ca1402a 100644 --- a/MVMCoreUI/Atoms/Views/LeftRightLabelView.swift +++ b/MVMCoreUI/Atoms/Views/LeftRightLabelView.swift @@ -73,8 +73,9 @@ import Foundation if leftTextLabel.hasText && rightTextLabel.hasText { let padding = MFStyler.defaultHorizontalPadding(forSize: size) * 2 let maximumTextWidth = (size - (padding + 16)) * 0.4 - rightTextLabel.preferredMaxLayoutWidth = round(maximumTextWidth) - } else { + // Subtracting 10 resolves issues of SE and iPad + rightTextLabel.preferredMaxLayoutWidth = round(maximumTextWidth) - 10 + } else { rightTextLabel.preferredMaxLayoutWidth = 0 } }