fix N_SE-44240
authorGwangbok Kim <gwangbok.kim@samsung.com>
Mon, 1 Jul 2013 09:19:03 +0000 (18:19 +0900)
committerGwangbok Kim <gwangbok.kim@samsung.com>
Mon, 1 Jul 2013 09:23:58 +0000 (18:23 +0900)
Change-Id: Ifa1c1d7627bb37941c7f8844ec662e390217cd02
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
project/src/CategoryListForm.cpp

index 17797a7..2b583a8 100644 (file)
@@ -90,14 +90,14 @@ CategoryListForm::OnInitializing(void)
        pAddressbookName->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
        pAddressbookName->SetBackgroundColor(color);
        pAddressbookName->SetTextConfig(50, LABEL_TEXT_STYLE_BOLD);
-       pScrollPanel->AddControl(pAddressbookName);
+       AddControl(pAddressbookName);
 
        static int UI_X_POSITION_LEFT = 5;
        static int UI_HEIGHT = 80;
        static int UI_Y_POSITION = 0;
 
        __pListView = new (std::nothrow) ListView();
-       __pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION + UI_HEIGHT, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       __pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION + UI_HEIGHT, GetClientAreaBounds().width, GetClientAreaBounds().height - UI_HEIGHT));
        __pListView->SetItemProvider(*this);
        __pListView->AddListViewItemEventListener(*this);
        pScrollPanel->AddControl(__pListView);