airstruck / luigi

Lovely User Interfaces for Game Inventors
MIT License
114 stars 21 forks source link

Typing long text hides the cursor and some characters #38

Closed ghost closed 8 years ago

ghost commented 8 years ago

When typing a text longer than the edit box's width, the last character is displayed partially and the cursor disappears. The look is consistent with the control's boundary box being used for calculations rather than just the inner edit box, similarly to https://github.com/vrld/SUIT/issues/27 (but I haven't looked at the code). [EDIT: Actually, it is more consistent with being always exactly 1 character behind. It is not a fixed width, as can be shown by entering series of MmMm and ilil]

There are other issues that I'm not sure if they are part of the same issue or not. When the input box is full, pressing the Home/End keys does not seem to make the new cursor position visible. It goes back to normal if the right cursor is pressed after the End key, or if the left cursor is pressed after the Home key.