using namespace Tizen::Base::Utility;
static const int GAP_W_POPUP_ITEM = 5;
-static const int W_DELETE_POPUP = 600;
+static const int W_DELETE_POPUP = 620;
static const int H_DELETE_POPUP = 300;
static const int H_DELETE_LABEL = 180;
static const int Y_DELETE_BUTTON = 180;
{
pFooter->SetStyle(FOOTER_STYLE_SEGMENTED_TEXT);
}
- pFooter->SetBackButton();
+
SetFormBackEventListener(this);
}
else
{
pFooter->SetStyle(FOOTER_STYLE_BUTTON_ICON_TEXT);
- pFooter->SetMenuButton();
SetFormMenuEventListener(this);
FooterItem footerShare;
delete pBitmapDeleteDim;
TryReturn(r == E_SUCCESS, r, "[%s] Unable to add item", GetErrorMessage(r));
- pFooter->SetBackButton();
SetFormBackEventListener(this);
SceneManager* pSceneManager = SceneManager::GetInstance();
__pDeletePopup->AddControl(pLabelText);
Button* pDeleteButton = new (std::nothrow) Button();
- pDeleteButton->Construct(Rectangle(0, Y_DELETE_BUTTON, popupClientBounds.width / 2 - GAP_W_POPUP_ITEM, H_DELETE_BUTTON),
+ pDeleteButton->Construct(Rectangle(10, Y_DELETE_BUTTON, popupClientBounds.width / 2 - GAP_W_POPUP_ITEM -10, H_DELETE_BUTTON),
ResourceManager::GetString(L"IDS_COM_BODY_DELETE"));
pDeleteButton->SetColor(BUTTON_STATUS_NORMAL, COLOR_DELETE_BUTTON_NORMAL);
pDeleteButton->SetColor(BUTTON_STATUS_PRESSED, COLOR_DELETE_BUTTON_PRESSED);
Button* pButtonCancel = new (std::nothrow) Button();
pButtonCancel->Construct(Rectangle(popupClientBounds.width / 2 + GAP_W_POPUP_ITEM, Y_DELETE_BUTTON,
- popupClientBounds.width / 2 - GAP_W_POPUP_ITEM, H_DELETE_BUTTON), ResourceManager::GetString(L"IDS_COM_POP_CANCEL"));
+ popupClientBounds.width / 2 - GAP_W_POPUP_ITEM -10, H_DELETE_BUTTON), ResourceManager::GetString(L"IDS_COM_POP_CANCEL"));
pButtonCancel->SetActionId(IDA_DELETE_POPUP_CANCEL);
pButtonCancel->AddActionEventListener(*this);
__pDeletePopup->AddControl(pButtonCancel);
{
if (enableState == true)
{
- pFooter->SetMenuButtonEnabled(true);
pFooter->SetItemEnabled(0, true);
pFooter->SetItemEnabled(1, true);
}
else
{
- pFooter->SetMenuButtonEnabled(false);
pFooter->SetItemEnabled(0, false);
pFooter->SetItemEnabled(1, false);
}