Determining if the amount of text exceeds the available width
Hello,
So I've created a TextFlow input field using
textFlow.interactionManager = new EditManager();
I've also limited the vertical scrolling to using controller.verticalScrollPolicy = ScrollPolicy.OFF;
so basically I have just one input line.
The controller also has a fixed width, so when a user starts typing and the amount of text exceeds the available viewing space the newly entered text is no longer visible.
What I'm after is a method to 'read' the total textWidth and compare that to the width of the textFlow container so I can do something when the space runs out. Is this at all possible?
Many thanks for any thoughts
cheers
