Add the logical key to Integration::KeyEvent
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / custom-layout-impl.cpp
index 30ebc29..37b6936 100644 (file)
@@ -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;
     }