fix for Issue N_SE-39256
authorKunal Sinha <kunal.sinha@samsung.com>
Wed, 22 May 2013 09:55:39 +0000 (15:25 +0530)
committerKunal Sinha <kunal.sinha@samsung.com>
Wed, 22 May 2013 13:41:16 +0000 (19:11 +0530)
Change-Id: I506f90b0d006fe937c1c1e7f8b086f19bf2982ec
Signed-off-by: Kunal Sinha <kunal.sinha@samsung.com>
src/ui/controls/FUiCtrl_EditPresenter.cpp

index b5374c6..6f267d4 100644 (file)
@@ -8691,7 +8691,9 @@ _EditPresenter::AdjustFlexibleHeight(void)
        {
                bounds.height = calculateHeight;
                __prevTotalTextHeight = __pTextObject->GetTotalHeightF();
-               return SetFlexBounds(bounds);
+
+               FloatRectangle editBounds = CoordinateSystem::AlignToDevice(bounds);
+               return SetFlexBounds(editBounds);
        }
        __prevTotalTextHeight = __pTextObject->GetTotalHeight();
        return r;