0 votes

I want a panel container to scale inward in order to contain text, but force the text to multiple lines when it reaches a certain width.

So for instance if the text says "Hello" I'd like the container to just contain it, but if it's something like "Hello my name is Dan, I'm an okay guy" it would force it to multiple lines and the panel would be the maximum size it could be.

I have been pulling my hair out with combinations of panels, panel containers, HBoxContainers, hatchets, rocks through my computer screen, etc.

Godot version 3.5 stable mono
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.