Search code examples
macoscocoageometrynsbuttonaccessory

NSButton with down-facing triangle on the right


I'm trying to make a native NSButton object in IB. When I select Accessory as a Button Type, the title disappears. When I try to write the title, the button is not resizing and the triangle keeps disappearing.

How to make a NSButton with text and down-facing accessory triangle on the right indicating this is something you can click and will popover?


Solution

  • Maybe NSPopUpButton is what you're looking for.