Unable to set NSButton height

I have some Round Textured style NSButtons inserted into NSToolbar.

I created some custom images for the buttons and would like to make them vertically large, however the height field for the button is grayed out.

Does anyone have any ideas why, and is there a way around this?

thanks

Gareth

+7
objective-c cocoa interface-builder macos nsbutton
source share
1 answer

From NSButtonCell Reference

NSTexturedRoundedBezelStyle The height of this button is fixed.

enter image description here

You can use NSTexturedSquareBezelStyle Bezel styles

enter image description here

+15
source share

All Articles