Modified scrollbar effect when begin
authorSangYong Lee <sangyongim.lee@samsung.com>
Mon, 1 Jul 2013 05:11:24 +0000 (14:11 +0900)
committerSangYong Lee <sangyongim.lee@samsung.com>
Wed, 3 Jul 2013 05:37:59 +0000 (14:37 +0900)
Change-Id: If978919468ab32d61f28544b783988302db85706
Signed-off-by: SangYong Lee <sangyongim.lee@samsung.com>
src/ui/controls/FUiCtrl_TableViewPresenter.cpp

index e466960..52d64af 100644 (file)
@@ -1100,8 +1100,10 @@ _TableViewPresenter::PreloadItem(void)
        PresetItemHeightList();
        AdjustClientAreaBounds(true);
 
-       if (__pTableView->GetScrollStyle() == TABLE_VIEW_SCROLL_BAR_STYLE_FAST_SCROLL
-                       || __pTableView->GetScrollStyle() == TABLE_VIEW_SCROLL_BAR_STYLE_FAST_SCROLL_FIXED)
+       TableViewScrollBarStyle scrollStyle = __pTableView->GetScrollStyle();
+
+       if (scrollStyle == TABLE_VIEW_SCROLL_BAR_STYLE_FAST_SCROLL
+                       || scrollStyle == TABLE_VIEW_SCROLL_BAR_STYLE_FAST_SCROLL_FIXED)
        {
                _FastScroll* pFastScroll = __pTableView->GetFastScrollBar();
                if (pFastScroll != null)
@@ -1110,6 +1112,13 @@ _TableViewPresenter::PreloadItem(void)
                        pFastScroll->SetScrollVisibility(IsScrollable());
                }
        }
+       else if (scrollStyle != TABLE_VIEW_SCROLL_BAR_STYLE_NONE)
+       {
+               if (IsScrollable())
+               {
+                       FadeInScrollBar();
+               }
+       }
 
        return true;
 }