Davidah121 / SMPL

A static C++ library that encompasses all of the tools I have made to make development easier.
1 stars 0 forks source link

Fix text bounding box issues #131

Closed Davidah121 closed 2 years ago

Davidah121 commented 2 years ago

In certain scenarios, the text being drawn does not display properly. This occurs in textboxes where the text extends outside of the textbox. It only extends to the left of the textbox when the text is too big for the box. Occurs when using a list and possibly a grid.

Davidah121 commented 2 years ago

After a little testing, the issue occurs for children of the textbox. The bounds are adjusted by the children causing the left bound to extend behind the textbox.