Change-Id: I7e4432292ef1fc3d31b796877da65b51772490d2
Signed-off-by: BINDUCHAITANYA TUMMALA <bc.tummala@samsung.com>
SysTryReturnResult(NID_WEB_CTRL, idCount > 0 && titleCount > 0 && idCount == titleCount, E_INVALID_DATA, "[E_INVALID_DATA] mismatch in count of Ids and Ttitles.");
int buttonMargin = __pWebPopupData->spacePad/2;
+ if (idCount == 1)
+ {
+ GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_SIDE_MARGIN_01, _CONTROL_ORIENTATION_PORTRAIT, buttonMargin);
+ }
int buttonWidth = (__pWebPopupData->popupDim.width - buttonMargin*(idCount+1)) / idCount;
int buttonTopMargin = (__pWebPopupData->panelHeight - __pWebPopupData->btnDim.height)/2;