# Label after 90 degree rotation is not resizing with the containter

**URL:** <https://forum.godotengine.org/t/label-after-90-degree-rotation-is-not-resizing-with-the-containter/3690>\
**Category:** Archive\
**Created:** [December 21, 2022, 5:48pm UTC](https://forum.godotengine.org/t/label-after-90-degree-rotation-is-not-resizing-with-the-containter/3690 "2022-12-21T17:48:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [December 21, 2022, 5:48pm UTC](https://forum.godotengine.org/t/label-after-90-degree-rotation-is-not-resizing-with-the-containter/3690/1 "2022-12-21T17:48:27Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Attention** | Topic was automatically imported from the old Question2Answer platform. |
| 👤 | **Asked&nbsp;By** | Maker |

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

> **[defautl size](https://freeimage.host/i/defautl-size.HzEYuON)**
>
> Image defautl size hosted in Freeimage.host

View when resized

> **[resizewindow](https://freeimage.host/i/resizewindow.HzEYTRp)**
>
> Image resizewindow hosted in Freeimage.host

---

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [November 20, 2023, 12:16am UTC](https://forum.godotengine.org/t/label-after-90-degree-rotation-is-not-resizing-with-the-containter/3690/2 "2023-11-20T00:16:45Z")

</div>

Archived on November 20, 2023, 12:16am UTC



---

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [November 20, 2023, 12:16am UTC](https://forum.godotengine.org/t/label-after-90-degree-rotation-is-not-resizing-with-the-containter/3690/3 "2023-11-20T00:16:45Z")

</div>

Unlisted on November 20, 2023, 12:16am UTC


