#Dynamic Hanging Indent

1 messages · Page 1 of 1 (latest)

timid dagger
#

I'm creating a text adventure, and one thing I wanted to use was a paragraph with a hanging indent (a la Disco Elysium). So far, the only way I can find to indent is to do it manually with bbcode. I'm wondering if it's possible to dynamically indent text with scripting, so that it automatically indents after the first line?

keen hazel
#

In Godot I'll add words one by one and see when get_line_count() goes over 1 and then chuck the overflow into the next label paragraph

#

Nevermind. In godot I think I can use this to cut out the trailing bit get_line_range(line: int)