diff --git a/tns-core-modules/org.nativescript.widgets.d.ts b/tns-core-modules/org.nativescript.widgets.d.ts index d27e156a9..c78583efb 100644 --- a/tns-core-modules/org.nativescript.widgets.d.ts +++ b/tns-core-modules/org.nativescript.widgets.d.ts @@ -177,4 +177,9 @@ } } } +} + +declare class TNSLabel extends UILabel { + borderThickness: UIEdgeInsets; + padding: UIEdgeInsets; } \ No newline at end of file diff --git a/tns-core-modules/ui/label/label.ios.ts b/tns-core-modules/ui/label/label.ios.ts index 8e5fd2820..7c292d1a9 100644 --- a/tns-core-modules/ui/label/label.ios.ts +++ b/tns-core-modules/ui/label/label.ios.ts @@ -2,7 +2,7 @@ import * as enums from "ui/enums"; import * as utils from "utils/utils"; import * as backgroundModule from "ui/styling/background"; -import view = require("ui/core/view"); +import {View} from "ui/core/view"; import style = require("ui/styling/style"); global.moduleMerge(common, exports); @@ -14,49 +14,6 @@ function ensureBackground() { } } -class UILabelImpl extends UILabel { - - private _owner: WeakRef