fix code for N_SE-34710
authorGwangbok Kim <gwangbok.kim@samsung.com>
Tue, 16 Apr 2013 08:31:32 +0000 (17:31 +0900)
committerGwangbok Kim <gwangbok.kim@samsung.com>
Tue, 16 Apr 2013 08:31:32 +0000 (17:31 +0900)
Change-Id: I7d1070b29db0c90c82c987647afbea37cadcd54f
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
project/src/CategoryListForm.cpp

index 95cfffb..9152c24 100644 (file)
@@ -347,28 +347,28 @@ void
 CategoryListForm::CreateCategoryPopup(void)
 {
        __pCreatePopup = new (std::nothrow) Popup();
-       __pCreatePopup->Construct(true, Dimension(600, 300));
+       __pCreatePopup->Construct(true, Dimension(600, 250));
        __pCreatePopup->SetTitleText(L"Create Category");
 
        Button* pButtonCancel = new (std::nothrow) Button();
-       pButtonCancel->Construct(Rectangle((GetClientAreaBounds().width - 440) / 4, 140, 220, 74), L"Cancel");
+       pButtonCancel->Construct(Rectangle((GetClientAreaBounds().width - 440) / 4, 90, 220, 74), L"Cancel");
        pButtonCancel->SetActionId(ID_BUTTON_CANCEL_POPUP);
        pButtonCancel->AddActionEventListener(*this);
        __pCreatePopup->AddControl(*pButtonCancel);
 
        Button* pButtonSave = new (std::nothrow) Button();
-       pButtonSave->Construct(Rectangle((GetClientAreaBounds().width - 430) / 4 + 240, 140, 220, 74), L"Save");
+       pButtonSave->Construct(Rectangle((GetClientAreaBounds().width - 430) / 4 + 240, 90, 220, 74), L"Save");
        pButtonSave->SetActionId(ID_BUTTON_SAVE_POPUP);
        pButtonSave->AddActionEventListener(*this);
        __pCreatePopup->AddControl(*pButtonSave);
 
        Label* pNameLabel = new (std::nothrow) Label();
-       pNameLabel->Construct(Rectangle(30, 20, 150, 74), L"Name: ");
+       pNameLabel->Construct(Rectangle(30, 10, 150, 74), L"Name: ");
        pNameLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
        __pCreatePopup->AddControl(*pNameLabel);
 
        __pNameEditField = new (std::nothrow) EditField();
-       __pNameEditField->Construct(Rectangle(170, 20, 350, 74), EDIT_FIELD_STYLE_NORMAL, INPUT_STYLE_OVERLAY);
+       __pNameEditField->Construct(Rectangle(170, 10, 350, 74), EDIT_FIELD_STYLE_NORMAL, INPUT_STYLE_OVERLAY);
        __pNameEditField->SetGuideText(L"Group Name");
        __pNameEditField->AddActionEventListener(*this);
        __pCreatePopup->AddControl(*__pNameEditField);