summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-05-12 07:00:31 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-05-12 07:00:31 +0000
commit73595b2b284f55fe1a6406494b590ae8e44a42f6 (patch)
treed711a98121e37c1695556bc540224c490ccbea59
parent9e18309ec3fc1ac5f42026607a73205aa2968674 (diff)
parentb238702efbb82832f8a92d2bf5c4a9dfb35b295c (diff)
downloadxamarin-forms-submit/tizen/20170512.113233.tar.gz
xamarin-forms-submit/tizen/20170512.113233.tar.bz2
xamarin-forms-submit/tizen/20170512.113233.zip
Merge "fix minimum size of Button when layouted" into tizensubmit/tizen/20170512.113233accepted/tizen/unified/20170512.170158
-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)