From 3942171e94e212f78a0fd992dbe08290d921c808 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 15 Apr 2016 11:38:34 +0300 Subject: [PATCH] Fixed #1757 --- ui/label/label.ios.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ui/label/label.ios.ts b/ui/label/label.ios.ts index c36fca70b..57dae2b10 100644 --- a/ui/label/label.ios.ts +++ b/ui/label/label.ios.ts @@ -76,6 +76,13 @@ export class Label extends common.Label { return this._ios; } + public onLoaded() { + super.onLoaded(); + + this.style._updateTextDecoration(); + this.style._updateTextTransform(); + } + public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void { var nativeView = this._nativeView; if (nativeView) { @@ -109,7 +116,7 @@ export class Label extends common.Label { this.setMeasuredDimension(widthAndState, heightAndState); } } -} +} export class LabelStyler implements style.Styler { //Background methods