fix for Nabi_SE-51804
authorvipul <vipul.kumar@samsung.com>
Tue, 10 Sep 2013 11:31:52 +0000 (17:01 +0530)
committervipul <vipul.kumar@samsung.com>
Tue, 10 Sep 2013 11:31:52 +0000 (17:01 +0530)
Signed-off-by: vipul <vipul.kumar@samsung.com>
Change-Id: I6c51e80f89d68cb31dc1551999912429fc73ff75

src/ui/controls/FUiCtrl_TabBarPresenter.cpp

index c45fdd1..b845975 100644 (file)
@@ -362,7 +362,7 @@ _TabBarPresenter::SetItemSelected(int index)
        }
        else if ((clientBounds.width - __sideMargin * 2.0f - __arrowMargin * 2.0f) < (itemBounds.x + itemBounds.width))
        {
-               float movableDistance = (itemBounds.x + itemBounds.width) - (clientBounds.width - __sideMargin * 2.0f - __arrowMargin * 2.0f);
+               float movableDistance = (itemBounds.x + itemBounds.width) - (clientBounds.width - __sideMargin * 2.0f - __arrowMargin);
                AdjustItemPositionX(-movableDistance);
        }