#5266 makes TextEdit have an "intrinsic" size, which I'm guessing makes containers expand to the size it reports as intrinsic size.
EDIT: #3660 is the cause, see #5500 (comment)
The problem is that it seems to claim the full width of the text, even when desired_width is smaller.
This causes things like side panels to expand way too far for long text, and possibly flicker a lot if the text width changes.
Here is an example of a SidePanel::right expanding way too far (due to very long floating point number displayed in the text edit)
desired_width is set to 100.0 in this example case.
