diff --git a/doric-iOS/Pod/Classes/Shader/DoricLayouts.m b/doric-iOS/Pod/Classes/Shader/DoricLayouts.m index e3932f23..2ac411dc 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricLayouts.m +++ b/doric-iOS/Pod/Classes/Shader/DoricLayouts.m @@ -104,7 +104,7 @@ - (CGSize)measureSize:(CGSize)targetSize { width = contentSize.width + padding.left + padding.right; } if (config.heightSpec == DoricLayoutWrapContent) { - height = contentSize.height + padding.left + padding.top + padding.bottom; + height = contentSize.height + padding.top + padding.bottom; } return CGSizeMake(width, height); }