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-04-24 13:36:43 +0900
commit08e8cd00ec27a131ab7bf4e21263484b6bff5672 (patch)
tree1533accbb6ce4bef355eaea8398419847bc2016e /Xamarin.Forms.Platform.Tizen/Native
parentfc5a964048217876d94954bfe41f28ba743946ac (diff)
downloadxamarin-forms-08e8cd00ec27a131ab7bf4e21263484b6bff5672.tar.gz
xamarin-forms-08e8cd00ec27a131ab7bf4e21263484b6bff5672.tar.bz2
xamarin-forms-08e8cd00ec27a131ab7bf4e21263484b6bff5672.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)
{