summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2016-12-19 14:10:29 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:14 +0900
commit4f0763eede1f19e3fcee17205d2986bafe5ec487 (patch)
tree3a2a2c6b416d604262282cf77c46288a66a1ce30 /Xamarin.Forms.Platform.Tizen/Native
parent49ab1a91891a443ea2f170616f02a056dee04ddf (diff)
downloadxamarin-forms-4f0763eede1f19e3fcee17205d2986bafe5ec487.tar.gz
xamarin-forms-4f0763eede1f19e3fcee17205d2986bafe5ec487.tar.bz2
xamarin-forms-4f0763eede1f19e3fcee17205d2986bafe5ec487.zip
Remove horizontalPadding for Label to measure its width correctly
Change-Id: I6b09e9dbb1996eef4751b13973145df72602fb2e
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-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)
{