Change-Id: I3a56fce34296ccee3e0ca65b16b88b2b47a45929
Font* pFont = __pButtonPresenter->GetFont();
FloatRectangle previousRect = pTextObject->GetBoundsF();
+ TextObjectActionType previousActionType = pTextObject->GetAction();
dimension.width = GetBoundsF().width - __leftMargin * 2;
dimension.height = GetBoundsF().height - __topMargin * 2;
}
pTextObject->SetBounds(previousRect);
+ pTextObject->SetAction(previousActionType);
dimension.width += __leftMargin * 4;
dimension.height += __topMargin * 4;
TextObject* pTextObject = __pLabelPresenter->GetTextObject();
FloatRectangle previousRect = pTextObject->GetBoundsF();
+ TextObjectActionType previousActionType = pTextObject->GetAction();
dimension.width = GetBoundsF().width - __leftMargin * 2;
dimension.height = GetBoundsF().height - __topMargin * 2;
}
pTextObject->SetBounds(previousRect);
+ pTextObject->SetAction(previousActionType);
dimension.width += __leftMargin * 2;
dimension.height += __topMargin * 2;