Merge pull request #804 from NativeScript/UILabel-border-radius-

borderRadius not working on UILabel
This commit is contained in:
Vladimir Enchev
2015-09-24 09:08:00 +03:00

View File

@@ -112,6 +112,7 @@ export class DefaultStyler implements definition.stylers.Styler {
private static setBorderRadiusProperty(view: view.View, newValue: any) {
if (view._nativeView instanceof UIView) {
(<UIView>view._nativeView).layer.cornerRadius = newValue;
(<UIView>view._nativeView).clipsToBounds = true;
}
}