diff options
author | Ruslan Mustakov <r.mustakov@gmail.com> | 2018-05-14 20:18:44 +0700 |
---|---|---|
committer | Ruslan Mustakov <r.mustakov@gmail.com> | 2018-05-14 20:32:14 +0700 |
commit | d5a0b5f35b22658f5c575e2f494ebd3f3239b8cc (patch) | |
tree | dc07f1f58bbcffa6d66d1685663b3ff9771ccb21 /modules/csg/csg.h | |
parent | 8c71cbbe3fcd45cc1459c24a712273d143ef6879 (diff) |
Ceil char width within Label instead of Font
Some classes use Font::get_char_size directly and not only for
autowrapping. RichTextLabel is one such example. So this commit
reverts aa8561d (PR #17504) and instead ceils character width within
Label. This makes sure Label autowraps correctly while not affecting
other Font clients.
Fixes #18835.
Diffstat (limited to 'modules/csg/csg.h')
0 files changed, 0 insertions, 0 deletions