- Home /
TextField text pushed to left on space
When I use GUILayout.TextField in my script, I find that in the standalone player, the field is not enlarged when I press space, and instead the text is shoved to the left outside the boundary of the text field. This does not happen in the editor, however. Has anyone else experienced this and have any workarounds?
Answer by Matthew A · Nov 11, 2010 at 02:04 PM
Well it turns out that it wasn't the standalone player, but using GUILayout.FlexibleSpace() (to prevent the textfield expanding to fill an entire Horizontal) that caused the problem. I guess I'll just have to try to get things placed where I want them some other way.
Your answer
Follow this Question
Related Questions
Head Scratcher for GUILayout.textfield 2 Answers
GUILayout margin bug? 2 Answers
How do I create Text Fields on the fly? 1 Answer
Sideways textfield 1 Answer
Unity GUILayout bug? 0 Answers