Answers for "swift not show image when is smaller than stackview"

0

how to have diffrent size images in a stack view swift

let imageViewWidthConstraint = NSLayoutConstraint(item: smallRealeaseImageIcon, attribute: .width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: 20)
let imageViewHeightConstraint = NSLayoutConstraint(item: smallRealeaseImageIcon, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: 20)
smallRealeaseImageIcon.addConstraints([imageViewWidthConstraint, imageViewHeightConstraint])
Posted by: Guest on June-13-2020
0

how to have diffrent size images in a stack view swift

releaseInfoStack.distribution = .fillProportionally
Posted by: Guest on June-13-2020

Code answers related to "swift not show image when is smaller than stackview"

Code answers related to "Swift"

Browse Popular Code Answers by Language