diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-03-16 07:48:53 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-03-16 07:48:53 +0900 |
commit | f70c56fbc2d6f799f9a91fc73902c2a75e6bb050 (patch) | |
tree | 8164bde6a6870fdf963e76fa853053d021c84a3e /Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs | |
parent | 5ef5df5663d339785bb29772f49448b781a9a987 (diff) | |
download | xamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.tar.gz xamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.tar.bz2 xamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.zip |
Set the default scroller policy to auto
TASK=TCAPI-2220
- With this change, scroll bar show automatically as needed. (not always shows as default)
Change-Id: I5aed4e3ea281ad90bfafa3c4ba593ba083d71b9d
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs index f35a2753..426cccaf 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs @@ -84,18 +84,18 @@ namespace Xamarin.Forms.Platform.Tizen { case ScrollOrientation.Horizontal: Control.ScrollBlock = ScrollBlock.Vertical; - Control.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Visible; + Control.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto; Control.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Invisible; break; case ScrollOrientation.Vertical: Control.ScrollBlock = ScrollBlock.Horizontal; Control.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Invisible; - Control.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Visible; + Control.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto; break; default: Control.ScrollBlock = ScrollBlock.None; - Control.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Visible; - Control.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Visible; + Control.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto; + Control.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto; break; } } |