SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
MIT License
18.05k stars 3.14k forks source link

mas_distributeViewsAlongAxis withFixedSpacing problem. #553

Closed NikoT closed 5 years ago

NikoT commented 5 years ago

https://github.com/SnapKit/Masonry/blob/8bd77ea92bbe995e14c454f821200b222e5a8804/Masonry/NSArray%2BMASAdditions.m#L74

I guess this line is wrong , it should be width , and the same problem in horizonal if. I didn't check the fixedITem one .

NikoT commented 5 years ago

oh , i found I misunderstood this func.