
Originally Posted by
iamgnat
Objective-C just to be difficult
Actually I thought about that (in Obj-C terms) and poked around the NSButton, NSControl, and NSView objects in the docs and didn't see anything that jumped out at me as the answer.
I'm sure I am being a bad developer for even entertaining the notion that
Apple didn't design something perfectly in the first place
-dave
Actually, you can't resize the push buttons because resizing them (at least for height) doesn't change their appearance. To see what I mean, call
Code:
[myButton setFrameSize:NSMakeSize(80.0, 80.0)];
[myButton setNeedsDisplay:YES];
on a push button and a square button. The push button just moves upwards to center in the 80 pixel tall frame, whereas the square button resizes to fill it. You'll probably have to roll your own button, as the end caps for the push button are bitmaps (I think), and won't scale up without looking pixelated.
Bookmarks