bug fix for image distortion in List - Left Variable - Icon - With Right caret molecule.
adding image properties
This commit is contained in:
parent
50a825acf2
commit
bc4aa2c987
@ -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