Automatically ident after word wrapping in a text. (Like in Earthbound)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Scarm

I want to make an Earthbound-esque a game in Godot 4.0 with a similar dialoguing system. As seen in the game each dialogue starts with an asterisk, and when the text wraps around it idents or lines up to where the text begins, HOWEVER this doesn’t happen if theres a manual line break and/or theres another asterisk, as seen in this picture:

So if anyone has a clue on how to replicate this it would be very helpful.

:bust_in_silhouette: Reply From: Whom

I tried making a similar dialog box to show one possible solution. See it here.

Changed Inspector settings:

Asterisk label
Size Flags → Vertical → Fill → ON

Msg label
Autowrap → ON
Size Flags → Horizontal → Expand → ON

SceneTree as text:

ColorRect (or other background node)
- VBoxContainer (Dialog box)
-- HBoxContainer (Dialog line 0)
--- Label (Asterisk)
--- Label (Message)
-- HBoxContainer (Dialog line 1)
--- Label (Asterisk)
--- Label (Message)