iOS:fix layout error
This commit is contained in:
parent
650ba64ad6
commit
c56c58423b
@ -95,7 +95,7 @@ - (void)measureSelf:(CGSize)targetSize {
|
||||
}
|
||||
if (self.heightSpec == DoricLayoutMost) {
|
||||
if (self.view.superview.doricLayout.layoutType == DoricVLayout && self.weight > 0) {
|
||||
height = self.measuredWidth = 0;
|
||||
height = self.measuredHeight = 0;
|
||||
} else {
|
||||
height = self.measuredHeight = targetSize.height;
|
||||
}
|
||||
|
Reference in New Issue
Block a user