raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.47k stars 298 forks source link

Solve the issue with last letter of GuiMessageBox #317

Closed hanaxar closed 1 year ago

hanaxar commented 1 year ago

Solves #315 by adding 2 to textWidth. All other controls that includes text have 2 pixel extra when measuring text width but somehow it's omitted in GuiMessageBox.

raysan5 commented 1 year ago

@hanaxar thanks for the review!