Ticket #547 (closed defect: fixed)
Cursor is sometimes displayed over letter in TextField
|Reported by:||totycro||Owned by:||FIFE|
|Time remaining:||Time spent:|
See screenshot: http://npshare.de/files/74e68601/guichan.png
The problem is located in textfield.cpp of guichan. The text is drawn with an offset of 3 (line 131), yet the caret isn't (line 126). Therefore there is some space before the text starts, but the caret doesn't "know" that.
This is fixable by removing the 3 or adding it to the caret. The first version creates strange problem for horizontal scrolling, the latter seems to work perfectly fine and fix the problem.