iOS: measure undefined set content size
This commit is contained in:
parent
300343909a
commit
c27a9bd672
@ -278,6 +278,10 @@ - (void)measureUndefinedContent:(CGSize)targetSize {
|
|||||||
self.measuredHeight = measuredSize.height + self.paddingTop + self.paddingBottom;
|
self.measuredHeight = measuredSize.height + self.paddingTop + self.paddingBottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.contentWidth = measuredSize.width;
|
||||||
|
|
||||||
|
self.contentHeight = measuredSize.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (CGFloat)takenWidth {
|
- (CGFloat)takenWidth {
|
||||||
|
Reference in New Issue
Block a user