• 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: Scrolling Thumbnails (Like Preview)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling Thumbnails (Like Preview)


  • Subject: Re: Scrolling Thumbnails (Like Preview)
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 10 Aug 2003 16:14:34 +0200

Am Sonntag, 10.08.03 um 10:11 Uhr schrieb Seth Willits:

You can set the size of the rows in a TableView.

All I see is setControlSize: which allows for Regular and Small.

What about

- (void)setRowHeight:(float)rowHeight (NSTableView)


Anyway, so is this possible with a table view? The more I look, the more I'm convinced it isn't.

Of course it is. You can display whatever you want in a table view.
Write your own cell class and assign it to the table column using

- (void)setDataCell:(NSCell *)aCell (NSTableColumn)

Here is a great sample app by Dan Wood that shows how to work with table views:

http://www.gigliwood.com/tabletester/


I could, but it won't work with the end result that I need. I'd like to have the string drawn underneath the image in the same cell, and have the image drawn at a desired percentage.

Hm. Maybe a borderless rectangular button would work? I'm not sure if it's able to do the scaling though. Then again, you could scale the image before assigning it to the button.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Scrolling Thumbnails (Like Preview)
      • From: Seth Willits <email@hidden>
References: 
 >Re: Scrolling Thumbnails (Like Preview) (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Today is messed up
  • Next by Date: wrapper for zlib
  • Previous by thread: Re: Scrolling Thumbnails (Like Preview)
  • Next by thread: Re: Scrolling Thumbnails (Like Preview)
  • Index(es):
    • Date
    • Thread