summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2016-12-19 14:10:29 +0900
committerKangho Hur <kangho.hur@samsung.com>2016-12-19 14:10:29 +0900
commitcfa2dce69636ce8a35b4fff2af67adf9c0a63882 (patch)
treeea1acb5c48428806034d004c62345fa0da7ae639 /Xamarin.Forms.Platform.Tizen
parent4f1ea2eb553240932fc173c758d0d975bafe4dbd (diff)
downloadxamarin-forms-cfa2dce69636ce8a35b4fff2af67adf9c0a63882.tar.gz
xamarin-forms-cfa2dce69636ce8a35b4fff2af67adf9c0a63882.tar.bz2
xamarin-forms-cfa2dce69636ce8a35b4fff2af67adf9c0a63882.zip
Remove horizontalPadding for Label to measure its width correctly
Change-Id: I6b09e9dbb1996eef4751b13973145df72602fb2e
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Label.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Label.cs b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
index cba2ba20..c07cce82 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Label.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
@@ -297,10 +297,8 @@ namespace Xamarin.Forms.Platform.Tizen.Native
// Set bottom padding for lower case letters that have segments below the bottom line of text (g, j, p, q, y).
var verticalPadding = (int)Math.Ceiling(0.05 * FontSize);
- var horizontalPadding = (int)Math.Ceiling(0.2 * FontSize);
rawSize.Height += verticalPadding;
formattedSize.Height += verticalPadding;
- formattedSize.Width += horizontalPadding;
if (rawSize.Width > availableWidth)
{