开发者

Flex 3.5 multiline htmlText scrolls 1-2 lines

It's easy to reproduce. If you are using Flex 3.5 (not my choice) and you scroll the mousewheel over a Text component with开发者_JS百科 multiple lines of htmlText, it will scroll down 1 (sometimes 2) lines, even though there is no text there.

Any ideas how to adjust this? Even if I had to extend Text and modify it, I want to fix this issue.

Thanks!

Before: http://cl.ly/18373k441T0p080n2w0M

After: http://cl.ly/0g2T1v161t2l2c3T0k0S

Please note, I made sure there is not a blank line below the body of text (it ended after the closing). Notice how the top line is now cut off, and an extra line was added at the bottom.


There are several solutions for that. Please read this and this. As for me the first one is more preferable. You can extend standard component with this solution.


Set mouseEnabled = false; if you do not require any mouse interaction.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜