FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #804 from NativeScript/UILabel-border-radius- · NativeScript/NativeScript@5f4840d · GitHub

Commit 5f4840d

Browse files
Vladimir Enchev
committed
Merge pull request #804 from NativeScript/UILabel-border-radius-
borderRadius not working on UILabel
2 parents b733c59 + 4e6f4aa commit 5f4840d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ui/styling/stylers.ios.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export class DefaultStyler implements definition.stylers.Styler {
112112
private static setBorderRadiusProperty(view: view.View, newValue: any) {
113113
if (view._nativeView instanceof UIView) {
114114
(<UIView>view._nativeView).layer.cornerRadius = newValue;
115+
(<UIView>view._nativeView).clipsToBounds = true;
115116
}
116117
}
117118

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL