Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2290
IGLabel rounded corners
posted

hi,

say I have a few IGLabels inside of a gridview cell. I want to subclass IGLabel and change Layout to specify rounded corners on those labels (not cell).

What is the override function to do that? 

Thank you

Mark

Parents
  • 4940
    Suggested Answer
    Offline posted

    Hi Mark,

    If you're looking only to create rounded corners on the IGLabel, you can simply use the view's layer to set the cornerRadius property.

    Example

    igLabel.layer.cornerRadius = 7;

Reply Children
No Data