Adding buttons to a custom view
Adding buttons to a custom view
- Subject: Adding buttons to a custom view
- From: Michael Becker <email@hidden>
- Date: Mon, 11 Oct 2004 17:47:51 +0200
Hello all!
I'm creating a custom view which will hold a matrix of buttons. When
the window is resized, the matrix of buttons should adjust to the new
size by re-ordering. Therefore my question:
Is it more feasable to add NSButtons as subviews to my view or should I
draw them "myself" in the drawRect: method? What is the easier way to
handle the re-ordering when the size of my view changes?
Kind regards,
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden