Re: Scrolling Thumbnails (Like Preview)
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.