From: jyothi kumar sambolu Date: Mon, 1 Apr 2013 06:44:20 +0000 (+0530) Subject: [PLM P130329-9704 Fix] Added divider in selectbox's List view control X-Git-Tag: 2.1b_release~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e36eb1b2c1c6f5a5288b3f489e4c991887ec593;p=framework%2Fosp%2Fweb.git [PLM P130329-9704 Fix] Added divider in selectbox's List view control Change-Id: I989f9cb0431a7a00649b5e7a10686e64322f6a36 Signed-off-by: jyothi kumar sambolu --- diff --git a/src/controls/FWebCtrl_SelectBox.cpp b/src/controls/FWebCtrl_SelectBox.cpp index 62f898e..17a249c 100755 --- a/src/controls/FWebCtrl_SelectBox.cpp +++ b/src/controls/FWebCtrl_SelectBox.cpp @@ -184,7 +184,7 @@ _SelectBox::Construct(bool isMultiSelect, const String& title, int listItemCnt, std::unique_ptr 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);