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

Error frame with nsattributetext #297

Open anhmuonnoi opened 5 years ago

anhmuonnoi commented 5 years ago

i set frame : label.sd_layout .leftSpaceToView(self.view, 10) .rightSpaceToView(self.view, 10) .bottomSpaceToView(self.view, 70) .autoHeightRatio(0); label.isAttributedContent = YES; after click button click, i update _label.sd_layout.maxHeightIs(100); error lable cannot bottomSpaceToView(self.view, 70),