Archive for the ‘Zoom’ tag
Zooming Text Area in Flex – messes up word wrap – bug??
We have been struggling with zooming TextArea in Flex for 2 months now. Tried lots of combination but nothing worked. Can someone help?
Essentially, we scaleX and scaleY the TextArea as the zoom level changes. The component zooms in fine, but the text in it keeps wrapping as we keep zooming. We expect the text to stay as it is and just zoom. Not re-wrap.
Here is the text at 100%. Notice the last words on the lines.
Here is the TextArea at 150% zoom. Notice how the wrapping disrupts.
I have a live example if you want to try this out.
We have tried using zoom effect, adding line breaks at the end of each line before zooming and removing them, trying different fonts, embedding them – everything we could think of! But this looks like a bug! TextArea keeps wrapping the text as we zoom.
What could be a solution?


