diff options
author | darkleem <cdark.lim@samsung.com> | 2017-05-11 19:48:49 +0900 |
---|---|---|
committer | darkleem <cdark.lim@samsung.com> | 2017-05-11 19:49:27 +0900 |
commit | b238702efbb82832f8a92d2bf5c4a9dfb35b295c (patch) | |
tree | ba304e5cbe9c82d238afcc4d0e07121b18384fae | |
parent | acedfb8b5db083b901c16e54f8658abb03413343 (diff) | |
download | xamarin-forms-b238702efbb82832f8a92d2bf5c4a9dfb35b295c.tar.gz xamarin-forms-b238702efbb82832f8a92d2bf5c4a9dfb35b295c.tar.bz2 xamarin-forms-b238702efbb82832f8a92d2bf5c4a9dfb35b295c.zip |
fix minimum size of Button when layouted
Change-Id: I889047c1efc695a81ea89e614b198ccad8e4c222
Signed-off-by: darkleem <cdark.lim@samsung.com>
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs index fa4afb00..f48ef742 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs @@ -1,6 +1,4 @@ using System; -using EColor = ElmSharp.Color; -using ESize = ElmSharp.Size; using Specific = Xamarin.Forms.PlatformConfiguration.TizenSpecific.VisualElement; namespace Xamarin.Forms.Platform.Tizen @@ -45,7 +43,7 @@ namespace Xamarin.Forms.Platform.Tizen protected override Size MinimumSize() { - return new ESize(Control.MinimumWidth, Control.MinimumHeight).ToDP(); + return Control.Measure(Control.MinimumWidth, Control.MinimumHeight).ToDP(); } void ButtonClickedHandler(object sender, EventArgs e) |