robvas macrumors 68040 Original poster Dec 10, 2011 #1 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?
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 Dec 10, 2011 #2 NSButton is a subclass of NSView, so it inherits NSView's methods. Look at NSView, perhaps you can find what you need there.
NSButton is a subclass of NSView, so it inherits NSView's methods. Look at NSView, perhaps you can find what you need there.
L larswik macrumors 68000 Dec 11, 2011 #3 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
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