summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkleem <cdark.lim@samsung.com>2017-05-11 19:48:49 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:25 +0900
commit3aff9704a12f67b7b9efff6007f42a50eb040a1e (patch)
tree16a542a2f2c34140777c035283a6b9c4edaa569a
parent86334f1cdf6c5e363a30071e51e546d668252bce (diff)
downloadxamarin-forms-3aff9704a12f67b7b9efff6007f42a50eb040a1e.tar.gz
xamarin-forms-3aff9704a12f67b7b9efff6007f42a50eb040a1e.tar.bz2
xamarin-forms-3aff9704a12f67b7b9efff6007f42a50eb040a1e.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.cs4
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)