闪光动态文本框,多行和wordwrap行事时髦 [英] flash dynamic textfield, multiline and wordwrap acting funky
问题描述
问题是,我的一些文本跳转到下一行,其中一些正在被切断。所以如果我有猫跳过盒子这样的一行,我会看到The Cat Jumped,在下一行我会看到盒子。它看起来像掩盖了超过线,而不是推到下一行。
这不是对所有东西都做这个,只是一些更长的线。这是一个非常奇怪的错误,我已经尝试了8个小时来修复这个问题。有没有人遇到过这个问题?
试试:
myTextField.autoSize = TextFieldAutoSize.LEFT;
I have this weird thing happening with flash and a dynamic textfield. Basically, someone rolls over a marker on a map, and a tooltip pops up with a dynamic textfield. The textfield is set to multiline=true and wordwrap = true, and I defined a specific width of 160 pixels.
The problem is, some of my text is jumping to the next line, some of it is just getting cut off. So if I have a line like "The Cat Jumped Over the Box", On one line I will see "The Cat Jumped" and on the next line I would see "the Box". It looks like it is masking out the "over" line and not pushing it to the next line.
It's not doing this for everything, just some longer lines. This is a really weird bug and I have tried for 8 hours to get this fixed. Has anyone ran into this problem before?
Try:
myTextField.autoSize = TextFieldAutoSize.LEFT;
这篇关于闪光动态文本框,多行和wordwrap行事时髦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!