- Home /
Text highlighter GUILayout textfield not aligned vertically with text
Hi, I have an issue with the layout I'm working on and I've been stuck on it for quite sometime. Essentially this is the best I could make it so far. When I click the (vertically middle) part of the textfield the field gets focus. The text seems to be out of place (in terms of vertical alignment) after the first text field and text highlighter is always lower than it should be. I don't know why this is. Before adding the fixed height to the style I had also an issue where the password field had a smaller height than it should have (it references the same style as the email textfield).
If you need additional images or code let me know.
Your answer
![](https://koobas.hobune.stream/wayback/20220613153634im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUILayout Textfield not editable just static 1 Answer
How to apply multiple styles to the same line(s) of GUI text 1 Answer
TextField does not show up 2 Answers
Head Scratcher for GUILayout.textfield 2 Answers
GUI custom textfield cursor rendering 2 Answers