[PLM P130329-9704 Fix] Added divider in selectbox's List view control
authorjyothi kumar sambolu <s.jyothi@samsung.com>
Mon, 1 Apr 2013 06:44:20 +0000 (12:14 +0530)
committerjyothi kumar sambolu <s.jyothi@samsung.com>
Mon, 1 Apr 2013 09:39:13 +0000 (15:09 +0530)
Change-Id: I989f9cb0431a7a00649b5e7a10686e64322f6a36
Signed-off-by: jyothi kumar sambolu <s.jyothi@samsung.com>
src/controls/FWebCtrl_SelectBox.cpp

index 62f898e..17a249c 100755 (executable)
@@ -184,7 +184,7 @@ _SelectBox::Construct(bool isMultiSelect, const String& title, int listItemCnt,
        std::unique_ptr<ListView> pListView(new (std::nothrow) ListView());
        SysTryReturnResult(NID_WEB_CTRL, pListView.get(), E_OUT_OF_MEMORY, "Memory Allocation failed.");
 
-       r = pListView->Construct(Rectangle(0, popupWinTopMargin, GetClientAreaBounds().width, listViewHeight), false);
+       r = pListView->Construct(Rectangle(0, popupWinTopMargin, GetClientAreaBounds().width, listViewHeight), true, SCROLL_STYLE_FADE_OUT);
        SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = __listElementArray.Construct();
@@ -300,7 +300,7 @@ _SelectBox::CreateItem(int index, int itemWidth)
        SysTryReturn(NID_WEB_CTRL, pListElement, null, GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult()));
 
        GET_SHAPE_CONFIG(CONTEXTMENU::LIST_ITEM_HEIGHT, __orientation, listItemHeight);
-       GET_SHAPE_CONFIG(LIST::LIST_ITEM_LEFT_MARGIN, __orientation, listItemXPos);
+       GET_SHAPE_CONFIG(LISTVIEW::ITEM_ELEMENT_LEFT_MARGIN, __orientation, listItemXPos);
        GET_SHAPE_CONFIG(LIST::LIST_CHECK_ITEM_WIDTH, __orientation, checkBoxWidth);
        GET_SHAPE_CONFIG(MESSAGEBOX::BUTTON_TOP_MARGIN, __orientation, popupBetweenListNBtnGap);
 //     GET_SHAPE_CONFIG(LIST::GROUPITEM_DEFAULT_FONT_SIZE, __orientation, listItemTxtHeight);