Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | wombatTurkey | |
Old Version | Published before Godot 3 was released. |
I was doing a trick. And that trick was basically creating a label, filling it with text with wrap
enabled, getting the size, and then setting its text to ""
, and then resizing its child RichTextLabel
to coincide. I’m not sure if that is the correct way to do it, but I feel like it will be buggy in the long run and self conscious about it.
I’m curious, since label has set_autowrap
, is it possible to use this method for RichTextLabel
as well?