Merge branch 'bugfix/list_leftvariable_numberedlist_alltextlinks' into 'develop'
This fixes squishing issue in iPhone 11 See merge request BPHV_MIPS/mvm_core_ui!496
This commit is contained in:
commit
cca328fcaf
@ -37,6 +37,8 @@ import Foundation
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
override open func setupView() {
|
override open func setupView() {
|
||||||
super.setupView()
|
super.setupView()
|
||||||
|
leftLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||||
|
leftLabel.setContentHuggingPriority(.defaultHigh, for: .vertical)
|
||||||
leftLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
leftLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||||
addMolecule(stack)
|
addMolecule(stack)
|
||||||
stack.restack()
|
stack.restack()
|
||||||
@ -65,12 +67,6 @@ import Foundation
|
|||||||
leftLabel.setFontStyle(.Title2XLarge)
|
leftLabel.setFontStyle(.Title2XLarge)
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func layoutSubviews() {
|
|
||||||
super.layoutSubviews()
|
|
||||||
// This fixes a defect body text where it doesn't layout correctly.
|
|
||||||
eyebrowHeadlineBodyLink.body.preferredMaxLayoutWidth = eyebrowHeadlineBodyLink.frame.width
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Accessibility
|
// MARK: - Accessibility
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user