[英]hitest on a TTStyledText returns a empty frame even when user clicks on a valid link
I have styled text with multiple URLs. 我用多个URL设置了文本样式。 While all the URLs links get highlighted, only some pass the hittest when the user taps on them.
当所有URL链接都突出显示时,当用户点击它们时,只有一些通过了hittest。 As a result of this not all links are handled properly in three20 framework.
因此,并非所有链接都在three20框架中正确处理。 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.
仅当为标签指定一个自定义类时,才会出现此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.