• 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: Philip Dow <email@hidden>
  • Date: Tue, 20 Dec 2005 13:38:46 +0100

Yeah, using a matrix would be a lot easier and take much less time to set up. On the other hand, if you want to customize the look of how the icons are presented and selected, a custom view would provide a bit more flexibility.

-Phil

On Dec 20, 2005, at 1:28 PM, j o a r wrote:


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


_______________________________________________
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

_______________________________________________
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: glenn andreas <email@hidden>
References: 
 >Implementing a scrollable icon-table (From: Dan Price <email@hidden>)
 >Re: Implementing a scrollable icon-table (From: j o a r <email@hidden>)

  • Prev by Date: Re: Implementing a scrollable icon-table
  • Next by Date: Re: Adding password for a file to keychain
  • Previous by thread: Re: Implementing a scrollable icon-table
  • Next by thread: Re: Implementing a scrollable icon-table
  • Index(es):
    • Date
    • Thread