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-24 04:19:03 (GMT)
commita67424eea941e4515bc22ea77fe13bbe6c8d1018 (patch)
treed1048ad1c135f72867ccdcf6ad1d0c591ac80da4
parentb2444f9f24e597827c8b80a006a35e98701d90cf (diff)
downloadxamarin-forms-a67424eea941e4515bc22ea77fe13bbe6c8d1018.zip
xamarin-forms-a67424eea941e4515bc22ea77fe13bbe6c8d1018.tar.gz
xamarin-forms-a67424eea941e4515bc22ea77fe13bbe6c8d1018.tar.bz2
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
-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;
}
}