• 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: Implementing a scrollable icon-table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing a scrollable icon-table


  • Subject: Re: Implementing a scrollable icon-table
  • From: j o a r <email@hidden>
  • Date: Tue, 20 Dec 2005 13:28:06 +0100


On 20 dec 2005, at 13.12, Dan Price wrote:

I need to implement a scrollable icon-table for my
graphics app. Each shader in the app is represented by
a 100x100 pixel preview icon. I want the icons for all
of the shaders present displayed in a grid utility
window so that they can be selected and used. The
window view must be scrollable in case there are too
many icons to fit. Can this be done with a standard
tableview?

The icon-selector seen at the top of XCode’s settings
window is the closest example I’ve seen.

Consider using an NSMatrix in a scroll view. You can set it up in IB:

1) Drag in an NSImageView
2) Alt+Drag one of the resize corners to create a NSMatrix of image cells
3) Select "wrap in scroll view"

You can set up the matrix with nx1, nxn or 1xn dimensions as you like.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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: Implementing a scrollable icon-table
      • From: Dan Price <email@hidden>
    • Re: Implementing a scrollable icon-table
      • From: Matthew Binkowski <email@hidden>
    • Re: Implementing a scrollable icon-table
      • From: Philip Dow <email@hidden>
References: 
 >Implementing a scrollable icon-table (From: Dan Price <email@hidden>)

  • Prev by Date: Re: NSTextView keyDown Question
  • Next by Date: Re: Implementing a scrollable icon-table
  • Previous by thread: Implementing a scrollable icon-table
  • Next by thread: Re: Implementing a scrollable icon-table
  • Index(es):
    • Date
    • Thread