KeepLayout icon indicating copy to clipboard operation
KeepLayout copied to clipboard

KeepWidth KeepMax and KeepMin are doing the inverse

Open ClarisseL opened this issue 13 years ago • 2 comments

[self.thumbnailView keep:[KeepWidth rules:@[[KeepMin must:frame.size.width/5.], [KeepMax must:500]]]];

UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSLayoutConstraint:0x9e37180 H:[UIImageView:0x9e81710(>=500)]>",
    "<NSLayoutConstraint:0x9e38e60 H:[UIImageView:0x9e81710(<=153.6)]>"
)

I'm not sure if this is a bug but I read many time your definition of Min and Max and I think it's not working as expected !

ClarisseL avatar Mar 10 '13 15:03 ClarisseL

Sorry for this, it's fixed now.

Tricertops avatar Mar 10 '13 20:03 Tricertops

It's okay was just reporting it ^_^ I'll never complain, it's so useful :p

ClarisseL avatar Mar 10 '13 21:03 ClarisseL