Another one of those annoying problems.
As i was making a pager system, it went all well. I made another frame inside a chat frame (for the player text to appear on the right side) and other peoples text to appear on the left side. Basically, I wanted it to look like a snapchat chat layout or any chat in that case.
Like this:
(from google not mine)
So, I wanted my textlabels to scale according to the text size, so II used the TextService:GetTextSize() function with appropriate parameters. However, it returns the same Y value for every sizes of texts.
I tried changing font size, font, textwrapped value, nothing!
Also if it may be useful, I’m cloning one Gui (if its the localplayer chatting) , I clone one frame inside the chat and if its another player chatting (other than the localplayer), it clones a textlabel inside the chat. This is to avoid recreating multiple instances every time a chat takes place.
Note:
- TextWrapped is turned off
- My AbsoluteSize is returning zero values every single time
- It’s absolutely annoying as no errors occur
I’ve searched all over the forum and nobody provided solutions other than “I figured it out”, “No more help needed”. Any suggestion will be deeply appreciated. Willing to enter team create for this, I’ve been stuck in this for like half a day and I’m almost giving up on this.