summaryrefslogtreecommitdiff
path: root/scene/resources/mesh_library.cpp
diff options
context:
space:
mode:
authorrobfram <robfram@gmail.com>2018-03-18 11:28:17 +0100
committerrobfram <robfram@gmail.com>2018-03-18 18:06:24 +0100
commit5358befb412b0f21610619f61c5c41fea949cfc6 (patch)
treef6ee9dbc23289520b581cbae8721e262eb0f1625 /scene/resources/mesh_library.cpp
parent760b0567a668c927820101d057ea8b4218943438 (diff)
Fix bad rendering of BBCode tables in `RichTextLabel`
Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
Diffstat (limited to 'scene/resources/mesh_library.cpp')
0 files changed, 0 insertions, 0 deletions