summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungHyun Min <shyun.min@samsung.com>2017-05-19 17:31:02 +0900
committerSungHyun Min <shyun.min@samsung.com>2017-05-19 17:31:02 +0900
commit2829bf5492051dd0109cd63de8e63c9fcf2b0d35 (patch)
tree4ac66a8af32718620cac71ed4ca7d31ffe1015aa
parent8b016247b0b99a6b8adad819edf99538dd15c19c (diff)
downloadxamarin-forms-2829bf5492051dd0109cd63de8e63c9fcf2b0d35.tar.gz
xamarin-forms-2829bf5492051dd0109cd63de8e63c9fcf2b0d35.tar.bz2
xamarin-forms-2829bf5492051dd0109cd63de8e63c9fcf2b0d35.zip
Add temporary solution for Button.Image issue
Change-Id: I2dcbcaaf749e8e181edfebb79d4c00a798ffef63 Signed-off-by: SungHyun Min <shyun.min@samsung.com>
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Button.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Button.cs b/Xamarin.Forms.Platform.Tizen/Native/Button.cs
index e6e05556..c6638662 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Button.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Button.cs
@@ -293,7 +293,11 @@ namespace Xamarin.Forms.Platform.Tizen.Native
}
else
{
+ // TODO : Hide() and Show() should be removed later.
+ // these methods are called to trigger rendering process because of EFL issue.
+ Hide();
SetPartContent("icon", _image);
+ Show();
}
}