From e5582e656506f7ea2a385616d89c9bed53f03f28 Mon Sep 17 00:00:00 2001 From: chungryeol lim Date: Mon, 23 Jan 2017 17:05:50 +0900 Subject: [PATCH] Fixed Label.HorizontalTextAlignment issue - HorizontalTextAlignment is not working for Label - Task=TCAPI-2201 Change-Id: I6bb509a865a57c774f3de4d43fff8e90cc7c90ca Signed-off-by: chungryeol lim --- Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index 24e93bc..0f72379 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -18,7 +18,7 @@ namespace Xamarin.Forms.Platform.Tizen RegisterPropertyHandler(Label.LineBreakModeProperty, UpdateLineBreakMode); RegisterPropertyHandler(Label.HorizontalTextAlignmentProperty, UpdateTextAlignment); RegisterPropertyHandler(Label.VerticalTextAlignmentProperty, UpdateTextAlignment); - RegisterPropertyHandler(Label.FormattedTextProperty, () => Control.FormattedText = ConvertFormattedText(Element.FormattedText)); + RegisterPropertyHandler(Label.FormattedTextProperty, UpdateFormattedText); } protected override void OnElementChanged(ElementChangedEventArgs