Merge pull request #1975 from NativeScript/label-line-spacing

Fixed #1757
This commit is contained in:
Vladimir Enchev
2016-04-15 11:43:57 +03:00

View File

@ -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