Masonry icon indicating copy to clipboard operation
Masonry copied to clipboard

update Constraints in the example not work

Open huangzhifei opened this issue 8 years ago • 1 comments

huangzhifei avatar Sep 21 '17 03:09 huangzhifei

Can you try updating the pod to latest version (1.1.0)?, if not. Or tweak the priority like this: [make.width.equalTo(@(self.buttonSize.width)) priorityLow]; [make.height.equalTo(@(self.buttonSize.height)) priorityLow]; [make.width.lessThanOrEqualTo(self) priorityHigh]; [make.height.lessThanOrEqualTo(self) priorityHigh];

it generates some warnings, but only at the moment the button width reaches the superView width.

ZeranLatte avatar Nov 10 '17 17:11 ZeranLatte