• 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: Adding graphical components at run-time (Newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding graphical components at run-time (Newbie)


  • Subject: Re: Adding graphical components at run-time (Newbie)
  • From: David Remahl <email@hidden>
  • Date: Sun, 26 Aug 2001 00:06:03 +0200

You should look into NSMatrix and matrix cells. Read in the IB manual to find out how to init them in IB.

/ david

Wondering if anyone can help me out here. I'd like to have a window that displays thumbnails of an arbitrary number of images. I will know the size that I want the images displayed at (they will need to be resized from the originals, though). I'm hoping to lay the images out in a grid that's as wide and tall as the window (possibly allowing scrolling downward if needed).

My question is this: How can I create a grid layout based on what the window size is at runtime, and then add images to that layout at runtime? I could probably do this statically in IB, but I don't know how to code this dynamically.

Thanks!
Lane Schwartz


References: 
 >Adding graphical components at run-time (Newbie) (From: Lane Schwartz <email@hidden>)

  • Prev by Date: Adding graphical components at run-time (Newbie)
  • Next by Date: Re: Docs
  • Previous by thread: Adding graphical components at run-time (Newbie)
  • Next by thread: Re: Adding graphical components at run-time (Newbie)
  • Index(es):
    • Date
    • Thread