I am trying to create a custom chat, but have run into multiple issues. How do I account for sizing the message frame “Template” and the size of the text inside of the ScrollingFrame?
I cannot use scale because when the CanvasSize property changes the frame will stretch to match the percentage of the size as expected. And if I use offset I would have to use an AspectRatioConstraint but that prevents me from resizing. I know I could calculate the aspect ratio again, but wouldn’t that mean I would have to loop through the already exisiting messages? I am really confused on how to go about doing this.
I have tried looking this up but nothing seems to fit my exact needs.
The other issue is when the size of the window or gui changes, would I have to loop through all the messages and have some equation that calculates their new size? This has got me stuck for hours so I decided to give it a shot here.
Thanks in advance.
NOTE: I am going to attempt to use RichText, meaning TextScaled will not work for sizing the font.