Fixed the bg image issues in popup group of controls.
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_ProgressPopupPresenter.cpp
index 58c6af7..568aa6f 100644 (file)
@@ -61,7 +61,6 @@ _ProgressPopupPresenter::_ProgressPopupPresenter(void)
        , __pAnimation(null)
        , __pAnimationFrameList(null)
        , __textObjectHeight(0.0f)
-       , __bgImageMargin(0.0f)
        , __currentIndex(0)
        , __buttonPressState(false)
        , __cancelButton(false)
@@ -689,7 +688,6 @@ _ProgressPopupPresenter::GetButtonBounds(void)
        GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_HEIGHT, orientation, btnHeight);
        GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_SIDE_MARGIN_01, orientation, btnSideMargin1);
        GET_SHAPE_CONFIG(MESSAGEBOX::BOTTOM_HEIGHT, orientation, buttonBgHeight);
-       GET_FIXED_VALUE_CONFIG(MESSAGEBOX::BG_IMAGE_MARGIN, orientation, __bgImageMargin);
 
        if (!__pProgressPopup->HasButton())
        {
@@ -724,7 +722,7 @@ _ProgressPopupPresenter::GetButtonBounds(void)
                + textBottomMargin
                + GetBodyTextObjHeight();
 
-       __buttonBgBounds.SetBounds(transLeftMargin + __bgImageMargin,  y , (defaultWidth - (transLeftMargin + transRightMargin) - (2 * __bgImageMargin)) , (buttonBgHeight - __bgImageMargin));
+       __buttonBgBounds.SetBounds(transLeftMargin,  y , (defaultWidth - (transLeftMargin + transRightMargin)) , (buttonBgHeight));
 
        return FloatRectangle(x, y + ((buttonBgHeight - height) / 2), width, height);
 }