summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-03-15 22:48:53 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-03-15 22:48:53 (GMT)
commitf70c56fbc2d6f799f9a91fc73902c2a75e6bb050 (patch)
tree8164bde6a6870fdf963e76fa853053d021c84a3e
parent5ef5df5663d339785bb29772f49448b781a9a987 (diff)
downloadxamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.zip
xamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.tar.gz
xamarin-forms-f70c56fbc2d6f799f9a91fc73902c2a75e6bb050.tar.bz2
Set the default scroller policy to autorefs/changes/47/119147/1
TASK=TCAPI-2220 - With this change, scroll bar show automatically as needed. (not always shows as default) Change-Id: I5aed4e3ea281ad90bfafa3c4ba593ba083d71b9d
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs8
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 f35a275..426ccca 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;
}
}