开发者

hitest on a TTStyledText returns a empty frame even when user clicks on a valid link

开发者 https://www.devze.com 2023-02-03 14:35 出处:网络
I have styled text with multiple URLs. While al开发者_如何学JAVAl the URLs links get highlighted, only some pass the hittest when the user taps on them. As a result of this not all links are handled p

I have styled text with multiple URLs. While al开发者_如何学JAVAl the URLs links get highlighted, only some pass the hittest when the user taps on them. As a result of this not all links are handled properly in three20 framework. Any ideas?


The style class name needs to end with : and the stylesheet selector with get the state when style is retrieved.

The easiest way would be to not to specify the class name at all. The label works well in this scenario. the problem occurs only when one specifies a custom class for the the label.

0

精彩评论

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