• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Adding buttons to a custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Adding buttons to a custom view
      • From: stephane sudre <email@hidden>
  • Prev by Date: Re: Changing App version number is a pain
  • Next by Date: Re: Adding buttons to a custom view
  • Previous by thread: Re: Changing App version number is a pain
  • Next by thread: Re: Adding buttons to a custom view
  • Index(es):
    • Date
    • Thread