Text Labels doesn't get clipped inside scrolling frame when they are rotated

I wanted to report this in bugs but for some reason it says I can’t post in that category so I will post it here, Thank You

I have scrolling frame and the clip descendants is enabled (default) and the contents inside are working fine the way it should, but I noticed when I rotate the TextLabel, it appears outside the boundary of scrolling frame, heres the picture

2 Likes

Are you rotating the Textlabels via an script?

This isn’t actually a bug, but instead a limitation of rotated UI elements under an ancestor with ClipsDescendants enabled. There have been many feature requests for this issue, for example: ClipsDescendants should work with rotated UI elements.

The current solution is to put the ScrollingFrame with rotated descendants inside a CanvasGroup. This instance will achieve your desired result of clipping rotated UI elements, however, will have a higher impact on memory than without. Use CanvasGroups only where necessary and you should be fine.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.