Frage

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 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.

War es hilfreich?

Lösung

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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top