diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-04-04 16:58:12 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:22 +0900 |
commit | db0caae41e1ce1f3a04e6d18fde3cda528ad8a15 (patch) | |
tree | e03742c9c1e0ab9663078f42966d0035f6444939 /Xamarin.Forms.Platform.Tizen/Renderers | |
parent | 92575cc231d943802258555e1ce7cf21ac72e505 (diff) | |
download | xamarin-forms-db0caae41e1ce1f3a04e6d18fde3cda528ad8a15.tar.gz xamarin-forms-db0caae41e1ce1f3a04e6d18fde3cda528ad8a15.tar.bz2 xamarin-forms-db0caae41e1ce1f3a04e6d18fde3cda528ad8a15.zip |
Fix Label layout issue
- TCAPI-2251
- This issuse was caused by wrong minimum size
- Layout class was depend on request size and minium size to layouting
If minium size was (0,0) layout will resize to smaller than request size
So, Label should be set proper minimum size
Change-Id: I895c32d26ca7b090b185f5ff3793638cec6229a2
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index 49611e4b..be5de861 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -44,7 +44,7 @@ namespace Xamarin.Forms.Platform.Tizen protected override Size MinimumSize() { - return new Size(Control.MinimumWidth, Control.MinimumHeight); + return Control.Measure(Control.MinimumWidth, Control.MinimumHeight).ToDP(); } Native.FormattedString ConvertFormattedText(FormattedString formattedString) |