Does anybody know if there is a way to increase the size of the images on the grid in a TTThumbsViewController in the three20 framework?
Thanks
Does anybody know if there is a way to increase the size of the images on the grid in a TTThumbsViewController in the three20 framework?
Thanks
Another way is to create a category of
TTThumbsDataSource
Copy the code below into a file ThumbnailDataSource.m and create a similiar headerfile. Include the header file in yourTTThumbsViewController
subclass. SetkThumbSize
to the size you want.If you're using the
TTThumbsViewController
, you'll have to edit that file.Change the
kThumbSize
to the size you want, andkThumbnailRowHeight
to that value+4 (for the padding).Then, in
tableView:cell:willAppearAtIndexPath:
, set:so the thumbs know what size to be.