user359519
user359519

Reputation: 711

TTThumbsViewController / TTPhotoView - Change Caption Size?

I am working with Three20's PhotoTest2Controller (TTThumbsViewController). When I click a thumbnail and open the image (TTPhotoView?), how can I increase the size of the caption area? I need to be able to display more than 6 lines.

Upvotes: 0

Views: 623

Answers (1)

coneybeare
coneybeare

Reputation: 33101

The caption uses a default TTStyle to render itself (see source, line 57) so all you have to do is register a stylesheet, and override the method photoCaption so that TTSTYLE(photoCaption) uses your method instead of the one found in the TTDefaultStylesheet

Upvotes: 1

Related Questions