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

Adding graphical components at run-time (Newbie)


  • Subject: Adding graphical components at run-time (Newbie)
  • From: Lane Schwartz <email@hidden>
  • Date: Sat, 25 Aug 2001 16:45:53 -0500
  • Organization: The Realm of Dowobeha

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


  • Follow-Ups:
    • Re: Adding graphical components at run-time (Newbie)
      • From: Kurt Revis <email@hidden>
    • Re: Adding graphical components at run-time (Newbie)
      • From: David Remahl <email@hidden>
  • Prev by Date: Re: Scaling images in NSButtonCell
  • Next by Date: Re: Adding graphical components at run-time (Newbie)
  • Previous by thread: Re: Scaling images in NSButtonCell
  • Next by thread: Re: Adding graphical components at run-time (Newbie)
  • Index(es):
    • Date
    • Thread