From 4e6f4aaf3f3e711b403cced90d0dd840465c05cd Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 23 Sep 2015 10:03:08 +0300 Subject: [PATCH] borderRadius not working on UILabel --- ui/styling/stylers.ios.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/styling/stylers.ios.ts b/ui/styling/stylers.ios.ts index 610cf1367..b31a22f19 100644 --- a/ui/styling/stylers.ios.ts +++ b/ui/styling/stylers.ios.ts @@ -112,6 +112,7 @@ export class DefaultStyler implements definition.stylers.Styler { private static setBorderRadiusProperty(view: view.View, newValue: any) { if (view._nativeView instanceof UIView) { (view._nativeView).layer.cornerRadius = newValue; + (view._nativeView).clipsToBounds = true; } }