+1 vote

I have a richtextlabel which needs to be rotated to 90 degrees. This is the tree
Main Control Node
----Panel Container
------Margin Container
----------Panel Container
---------------Panel Container
--------------------Control
--------------------------Margin Container
-----------------------------------richtextlabel

Here the margin container in bold is rotated to 90degrees and I swapped the x and y sizes and changed the x position to fit the Control Node size. I have kept the size flags as expand and fill. I have tried playing with different settings but cannot make it work.

without the 90 degree rotation everything works perfectly.

It is good when window size is kept the default size. When window is resized for some reason the text is going out of the window.

Default View
https://freeimage.host/i/HzEYuON

View when resized
https://freeimage.host/i/HzEYTRp

Godot version version 3.5.1
in Engine by (13 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.