0 votes

I have a RichTextLabel which has a Child which is also a Richttextlabel.
I want that the Child has a y offset of 56.
Is this possible?

in Engine by (232 points)

1 Answer

0 votes
Best answer


Ensure RichTextLabel (parent) rect_clip_content is equal to false. Then adjust the `margin_top' of the child to 56.

Whenever I am trying to figure out some weird UI stuff, my best practice is to create a new scene and test out what I want in a clean implementation. This way you know it works before trying to incorporate it into your more complicated, existing project.

by (146 points)
selected by
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 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 webmaster@godotengine.org with your username.