开发者

TTThumbsViewController / TTPhotoView - Change Caption Size?

开发者 https://www.devze.com 2023-01-02 05:22 出处:网络
I am working with Three20\'s PhotoTest2Controller (TTThumbsViewControll开发者_如何学Cer).When I click a thumbnail and open the image (TTPhotoView?), how can I increase the size of the caption area?I n

I am working with Three20's PhotoTest2Controller (TTThumbsViewControll开发者_如何学Cer). 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号