diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-05-12 07:00:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-05-12 07:00:31 +0000 |
commit | 73595b2b284f55fe1a6406494b590ae8e44a42f6 (patch) | |
tree | d711a98121e37c1695556bc540224c490ccbea59 | |
parent | 9e18309ec3fc1ac5f42026607a73205aa2968674 (diff) | |
parent | b238702efbb82832f8a92d2bf5c4a9dfb35b295c (diff) | |
download | xamarin-forms-73595b2b284f55fe1a6406494b590ae8e44a42f6.tar.gz xamarin-forms-73595b2b284f55fe1a6406494b590ae8e44a42f6.tar.bz2 xamarin-forms-73595b2b284f55fe1a6406494b590ae8e44a42f6.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.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) |