From 211ca5e145c9c7ba4ba8d4cdbeb46fd61d0d8106 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Mon, 8 Jul 2013 16:32:13 +0530 Subject: [PATCH] Fixed issue 45122 Change-Id: Iabb106e33a96223811b2c99620079b8f958bc52c Signed-off-by: Himanshu --- src/GlProgressAnimation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GlProgressAnimation.cpp b/src/GlProgressAnimation.cpp index e802442..465706c 100644 --- a/src/GlProgressAnimation.cpp +++ b/src/GlProgressAnimation.cpp @@ -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); } -- 2.7.4