float titleLeftMargin = 0.0f;
float titleRightMargin = 0.0f;
+ float transTopMargin = 0.0f;
float transLeftMargin = 0.0f;
float transRightMargin = 0.0f;
GET_SHAPE_CONFIG(POPUP::TITLE_TEXT_LEFT_MARGIN, orientation, titleLeftMargin);
GET_SHAPE_CONFIG(POPUP::TITLE_TEXT_RIGHT_MARGIN, orientation, titleRightMargin);
+ GET_SHAPE_CONFIG(POPUP::BG_IMAGE_TRANSPARENT_TOP_MARGIN, orientation, transTopMargin);
GET_SHAPE_CONFIG(POPUP::BG_IMAGE_TRANSPARENT_LEFT_MARGIN, orientation, transLeftMargin);
GET_SHAPE_CONFIG(POPUP::BG_IMAGE_TRANSPARENT_RIGHT_MARGIN, orientation, transRightMargin);
__pTitleTextObject->SetAlignment(TEXT_OBJECT_ALIGNMENT_LEFT);
}
__pTitleTextObject->SetBounds(FloatRectangle(titleLeftMargin + transLeftMargin,
- titleTopMargin,
+ titleTopMargin + transTopMargin,
defaultWidth - (titleLeftMargin + titleRightMargin + transLeftMargin + transRightMargin),
titleHeight - titleTopMargin));
__pTitleTextObject->Compose();
__titleBounds = FloatRectangle(titleLeftMargin + transLeftMargin,
- titleTopMargin,
+ titleTopMargin + transTopMargin,
defaultWidth - (titleLeftMargin + titleRightMargin + transLeftMargin + transRightMargin),
titleHeight - titleTopMargin);
}
}
__pBodyTextObject->SetBounds(FloatRectangle(textLeftMargin + transLeftMargin,
- titleHeight + animationWidth + noTitleHeight,
+ titleHeight + textTopMargin + transTopMargin + animationWidth + noTitleHeight,
defaultWidth - (textLeftMargin + textRightMargin + transLeftMargin + transRightMargin),
maxHeight - titleHeight - bottomHeight - animationWidth));
__pBodyTextObject->Compose();
ADD_SHAPE_CONFIG(BG_IMAGE_TRANSPARENT_RIGHT_MARGIN, 16);
ADD_SHAPE_CONFIG(BUTTON_HEIGHT, 74); // 20121113
- ADD_SHAPE_CONFIG(BUTTON_INTERNAL_GAP, 20); // 20121113
+ ADD_SHAPE_CONFIG(BUTTON_INTERNAL_GAP, 16); // 20130404
ADD_SHAPE_CONFIG(BUTTON_TOP_MARGIN, 20); // 20121113
ADD_SHAPE_CONFIG(BUTTON_BOTTOM_MARGIN, 24); // 20130403