X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fcustom-layout-impl.cpp;h=37b6936abef11bec18a98b71ad09070a507bfb61;hp=30ebc29e572fddc582ed9291771c121c1d7d6203;hb=267bed869a0b35414526b5c393fc2586603ee173;hpb=94a17596be5c49de1bd7f19b997b6625a4407083 diff --git a/automated-tests/src/dali-toolkit/custom-layout-impl.cpp b/automated-tests/src/dali-toolkit/custom-layout-impl.cpp index 30ebc29..37b6936 100644 --- a/automated-tests/src/dali-toolkit/custom-layout-impl.cpp +++ b/automated-tests/src/dali-toolkit/custom-layout-impl.cpp @@ -119,7 +119,7 @@ void CustomLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top, LayoutLength childWidth = childLayoutImpl.GetMeasuredWidth(); LayoutLength childHeight = childLayoutImpl.GetMeasuredHeight(); - childTop = middle - (childHeight / 2); + childTop = middle - childHeight / 2; childLayoutImpl.Layout( currentLeft, childTop, currentLeft + childWidth, childTop + childHeight ); currentLeft += childWidth; }