• 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
Re: vertical list of views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical list of views


  • Subject: Re: vertical list of views
  • From: Conor Dearden <email@hidden>
  • Date: Fri, 12 May 2006 11:18:01 +0200

Just stack them in an enclosing NSView. Since it's vertical NSView will even
stack them for you, with - (void)addSubview:(NSView *)aView. You can do all
that with the regular NSView since you seem to have simple needs. If you
wanted to move them around and keep track of the views you could even
subclass NSView and build a class with methods to handle and do fancy things
with the added views.

Regards,
Conor
http://www.bruji.com/

> I am trying to find some control for making dynamic vertical list of nsviews
> These nsviews can have different height, and the number of views can
> change from case to case.


 _______________________________________________
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

  • Prev by Date: Re: NSDrawer in System Pref Pane
  • Next by Date: Re: Should objects returned by indirection be autoreleased
  • Previous by thread: vertical list of views
  • Next by thread: Implementing Quit
  • Index(es):
    • Date
    • Thread