GUI custom textfield cursor rendering

Hey guys I have problems with custom textfield guistyle in Unity. I put a simple background into it, custom font and yet there seems to be a problem with how the cursor is rendered (wrong position). Anyone has any ideas?

28010-untitled.png

It is a bug. Please send a bug report (http://issuetracker.unity3d.com/) containing the procedure how to reproduce the bug on which platform you work on and the Unity versions you encountered the problem. Do not forget to add a simple project and the steps to reproduce the bug so that QA can reproduce the bug.

Same here. Seems to come from the Font Size property. Found a workaround on the forums :

“As a workaround, you can generate a new font that has the matching size for the style’s fontSize and use that for TextArea and TextField…” (…and set the font size in the GUIStyle to 0)