Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

robvas

macrumors 68040
Original poster
Mar 29, 2009
3,240
629
USA
Is there a way to move or resize an existing NSButton? Or would I have to destroy it then re-create it with the new size or location?
 

Sydde

macrumors 68030
Aug 17, 2009
2,552
7,050
IOKWARDI
NSButton is a subclass of NSView, so it inherits NSView's methods. Look at NSView, perhaps you can find what you need there.
 

larswik

macrumors 68000
Sep 8, 2006
1,552
11
I find that you can alter more of the attributes if you create things through programming them instead of interface builder. Like TextFiled's you can determine the vertical height which you can not do, from what I have seen, in IB
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.