Perhaps I'm not understanding your post, but

On Sun, Feb 24, 2013, at 02:53 PM, Keary Suska wrote:
> On Feb 24, 2013, at 1:11 PM, Michael Starke wrote:
> I suspect the issue is that NSButton does not have built-in semantics for
> control size.

NSButton does indeed have built-in semantics for controlSize.

> In fact, none of the cells in question are documented to
> respond to -setControlSize is the way you are seeing, but apparently some
> do.

All NSCell instances respond to -setControlSize:.

> If you consider that a button of any control size can actually be of
> any size, how would the cell know how to resize itself, other than to
> just change its font? And if it has an image, how would that work?

As per the documentation, setting the controlSize of a cell does not
change its font. After the cell gets -setControlSize:, someone is
responsible for calling -sizeToFit: on the view containing that cell.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to