mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Label should clip content
This commit is contained in:
@@ -129,6 +129,7 @@ export class Label extends TextBase implements LabelDefinition {
|
|||||||
value = uiColor ? uiColor.CGColor : null;
|
value = uiColor ? uiColor.CGColor : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this._setNativeClipToBounds();
|
||||||
this.nativeView.layer.backgroundColor = value;
|
this.nativeView.layer.backgroundColor = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user