From c953589d49be24f2f39b297676412717ac4c06f3 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Mon, 24 Jun 2013 14:02:06 +0530 Subject: [PATCH] Fixed issues 42819, 42731 Change-Id: Ibb88639d3536186f160d2e6b696b7b9764dac298 Signed-off-by: Himanshu --- res/screen-size-normal/IDL_FORM_SETTING_MAIN.xml | 12 ++++-------- res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml | 6 +++--- src/GlFileListEditorForm.cpp | 6 +++--- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/res/screen-size-normal/IDL_FORM_SETTING_MAIN.xml b/res/screen-size-normal/IDL_FORM_SETTING_MAIN.xml index 8f48b9a..8d9b79a 100644 --- a/res/screen-size-normal/IDL_FORM_SETTING_MAIN.xml +++ b/res/screen-size-normal/IDL_FORM_SETTING_MAIN.xml @@ -3,24 +3,20 @@ This XML file was automatically generated by UiBuilder - do not modify by hand. --> - + 720
- - + + -
- - -
- +
diff --git a/res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml b/res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml index 4d7f7dd..fa97269 100644 --- a/res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml +++ b/res/screen-size-normal/IDL_SLIDESHOW_SETTING_POPUP.xml @@ -3,7 +3,7 @@ This XML file was automatically generated by UiBuilder - do not modify by hand. --> - + @@ -11,12 +11,12 @@ - + diff --git a/src/GlFileListEditorForm.cpp b/src/GlFileListEditorForm.cpp index 82c206f..232250c 100644 --- a/src/GlFileListEditorForm.cpp +++ b/src/GlFileListEditorForm.cpp @@ -44,7 +44,7 @@ using namespace Tizen::Ui::Scenes; 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; @@ -873,7 +873,7 @@ FileListEditorForm::SetUpPopup(void) __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); @@ -884,7 +884,7 @@ FileListEditorForm::SetUpPopup(void) 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); -- 2.7.4