How to get appropriate UI Text Scaling in combination with AutomaticCanvasSize?

I’ve been trying to make some UI, and scale / UIAspectRatio / UISizeConstraint seem to work great to make the GUI scale to the appropriate size for different screens.

In order for my Canvases made of lists of objects to have the appropriate CanvasSize though, I’ve been using AutomaticCanvasSize.Y with each child object having a set offset height. My attempts to use Scale height seem to end up rather weird as AutomaticCanvasSize changes the size of the Canvas, thus changing the size, which then changes the CanvasSize in a feedback loop. The main issue then becomes that text is either going to be too big or too small depending on the size of the screen if I use offset alone.

Does anyone know a better way to scale canvases / child objects or text within the objects?

1 Like