0 votes

I populate a label with a dialogue string from JSON in script and have the label set to clip_text.

Is there a way to return the position at which the text string is clipped? That way I could get the remainder of the string and display it next.

Trying to achieve a behaviour where, if text is clipped in the current dialogue box, it wraps to the "next page" of dialogue. Kind of like a linked text frame in InDesign does.

Wrote a little workaround, and got things working, but that's pretty hacky for this purpose and a lot less reliable than clip_text.

Godot version 3.5.1
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.