bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] CLabel doesn't output last symbol in a text #73

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

When CLabel component is used, it's displayed incorrectly with last character is being lost.

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.5.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Create a new entity with CLabel and CLayoutElement.
  2. Open development menu with press '~' and 'Open level editor'.
  3. Select the entity and try to change the content of the label.

Actual result

The text is displayed without last character.

Expected result

All letters of a label should be displayed.