Merge branch 'bugfix/leftvariable_icon_rightcaret' into 'develop'
bug fix for image distortion in List - Left Variable - Icon - With Right caret molecule. See merge request BPHV_MIPS/mvm_core_ui!415
This commit is contained in:
commit
fb170485c1
@ -39,6 +39,8 @@ import UIKit
|
||||
//-------------------------------------------------------
|
||||
override open func setupView() {
|
||||
super.setupView()
|
||||
leftImage.addSizeConstraintsForAspectRatio = true
|
||||
leftImage.contentMode = .scaleAspectFit
|
||||
leftLabel.setContentHuggingPriority(UILayoutPriority(rawValue: 901), for: .horizontal)
|
||||
rightLabel.setContentHuggingPriority(UILayoutPriority(rawValue: 902), for: .horizontal)
|
||||
addMolecule(stack)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user