SetTitleEdgeInsets for macOS app

I am building and application for macOS where I would like to have distance between NSButton border and content. After looking at how I could do this, I saw a function called setTitleEdgeInsets , but it looks like it is only available for UIButton. Is there an alternative to NSButton? If not, how can I achieve this?

Thanks and greetings

+3


source to share





All Articles