Fixed issue 45122
authorHimanshu <himanshu.t@samsung.com>
Mon, 8 Jul 2013 11:02:13 +0000 (16:32 +0530)
committerHimanshu <himanshu.t@samsung.com>
Mon, 8 Jul 2013 11:02:13 +0000 (16:32 +0530)
Change-Id: Iabb106e33a96223811b2c99620079b8f958bc52c
Signed-off-by: Himanshu <himanshu.t@samsung.com>
src/GlProgressAnimation.cpp

index e802442..465706c 100644 (file)
@@ -185,7 +185,7 @@ ProgressAnimation::Construct(Tizen::Graphics::Rectangle rect)
 
                // Create Animation
                __pAnimation = new (std::nothrow) Animation();
-               __pAnimation->Construct(Rectangle((rect.width / 2 - 60 / 2), (rect.height / 2 - 60 / 2), 60, 60), *__pAnimationFrameList);
+               __pAnimation->Construct(Rectangle((rect.width / 2 - 60 / 2), (rect.height / 2 + 30), 60, 60), *__pAnimationFrameList);
                __pAnimation->SetRepeatCount(10000);
                AddControl(__pAnimation);
        }
@@ -211,6 +211,6 @@ void
 ProgressAnimation::ChangeOrientation(Tizen::Graphics::Rectangle rect)
 {
        Panel::SetBounds(rect);
-       __pAnimation->SetBounds((rect.width / 2 - 60 / 2), (rect.height / 2 - 60 / 2), 60, 60);
+       __pAnimation->SetBounds((rect.width / 2 - 60 / 2), (rect.height / 2 + 30), 60, 60);
        __pAnimation->Invalidate(true);
 }