Hello! lately i’ve been focusing on a subtitle system, similar to valve’s.
though, however; a issue im having with it is that if the text is very long, it just keeps getting smaller.
now, i have tried using automaticsize, but that kept messing with the Y size A LOT. i could not get it to work how i wanted. and yes, textwrapped is on.
i just want to make it so while staying on the same size for everyone, i just need it to add a new line the moment it has enough words, i worded that badly i know. but hopefully you get the idea
for needed info, here is the structure first of all.
container holds everything, background is the black background, holder is where textlabels are put into, templates hold character specific textlabels
im not sure if the module info will be needed, it does not have anything related to sizing other than this, which sizes the background
make the scale of the textlabel’s Y equal to math.ceil(string.len(<text>) / <amount of characters before newline>) then if needed add a newline where its needed
as i mentioned in the post, it messes with the sizing real bad, plus i cant size it down, it keeps getting stuck at this size (i manually tried lowering the y size to 0.1 on both yet it stayed at the same size)
oops
it seems to be sizing it a lot every 3 words, im not sure if its a error on my end but im sorry if it is
(i have the word amount on 10 as you sent there, im using the example you sent basically)