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?

有帮助吗?

解决方案

Maybe NSPopUpButton is what you're looking for.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top