Modified ControlMaker of Gallery
authorJongwooLee <jongwoo718.lee@samsung.com>
Tue, 2 Apr 2013 07:35:00 +0000 (16:35 +0900)
committerJongwooLee <jongwoo718.lee@samsung.com>
Tue, 2 Apr 2013 07:35:00 +0000 (16:35 +0900)
Change-Id: I9121e964b6124e0f3ca60f8d288d100e1866d601
Signed-off-by: JongwooLee <jongwoo718.lee@samsung.com>
src/ui/controls/FUiCtrl_GalleryImpl.cpp

index 483052e..9b1afaf 100644 (file)
@@ -395,7 +395,7 @@ protected:
                result r = E_SYSTEM;
                _UiBuilderControlLayout* pControlProperty = null;
                Gallery* pGallery = null;
-               Rectangle rect;
+               FloatRectangle rect;
                Tizen::Base::String elementString;
                int currentIndex = 0;
                int duration = 0;
@@ -414,7 +414,7 @@ protected:
                        return null;
                }
 
-               rect = pControlProperty->GetRect();
+               rect = pControlProperty->GetRectF();
                //Construct
                r = pGallery->Construct(rect);
                if (r != E_SUCCESS)