<C++ Source> scene/gui/rich_text_label.cpp:4912 @ pop()
<Stack Trace> richer_text_label.gd:1014 @ _stack_pop()
richer_text_label.gd:587 @ _parse_tags()
richer_text_label.gd:567 @ _parse()
richer_text_label.gd:340 @ _set_bbcode()
In my use of RicherTextLabel, I found some issues with font sizes when combined with image [!texture_name] tags.
[int] [] seem to be a different size than the inspector font size. i.e. 24 in the inspector is not the same as [24] []. If anything, [100] [] looks similar to the size of whatever font size I set in the inspector, making it seem like the size is relative, and not absolute like the Read Me page states.
- Because I could not reliably use absolute size tags, I used relative size
[float] [] instead. I end up adding addition [] end brackets, otherwise the relative size will be carried over to the next line. Example: "[0.7][!my_image]\n[]" would instead have to be written "[0.7][!my_image]\n[][]". Sometimes I would even have to use 3 [] to prevent size leaking to the next line.
- Because of my workaround the size leakage in (2), I get the error pasted at the top of this post.
In my use of RicherTextLabel, I found some issues with font sizes when combined with image
[!texture_name]tags.[int] []seem to be a different size than the inspector font size. i.e. 24 in the inspector is not the same as[24] []. If anything,[100] []looks similar to the size of whatever font size I set in the inspector, making it seem like the size is relative, and not absolute like the Read Me page states.[float] []instead. I end up adding addition[]end brackets, otherwise the relative size will be carried over to the next line. Example:"[0.7][!my_image]\n[]"would instead have to be written"[0.7][!my_image]\n[][]". Sometimes I would even have to use 3[]to prevent size leaking to the next line.