issues
search
gsdios
/
SDAutoLayout
One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k
stars
1.28k
forks
source link
UIlabel 自动宽度能否支持 限制最小宽度, 和大于 的子适应的宽度
#236
Closed
czboosj
closed
6 years ago
czboosj
commented
6 years ago
(void)setSingleLineAutoResizeWithMaxWidth:(CGFloat)maxWidth { self.sd_maxWidth = @(maxWidth); }
类似这个的minWidth
gsdios
commented
6 years ago
有minWidth约束的
类似这个的minWidth