I want to be able to scale both text labels so that they scale to the same size and not different sizes alternatively scale the largest label to the smallest label so they look like they have the same font size
I have tried getting font size but textscaled doesnt alter the size value of the text, and while looking in the forums i have came across GetTextSize() but i am unsure what to do with it
indent preformatted text by 4 spaces
local textsize = textService:GetTextSize(confirm.label1_txtlbl.Text, 24, Enum.Font.Code, confirm.AbsoluteSize)
textsize = textsize.X
print(textsize)
if confirm.label1_txtlbl.TextSize > confirm.label2_txtlbl.TextSize then
confirm.label2_txtlbl.TextScaled = false
confirm.label2_txtlbl.TextSize = confirm.label1_txtlbl.TextSize
else
confirm.label1_txtlbl.TextScaled = false
confirm.label1_txtlbl.TextSize = confirm.label2_txtlbl.TextSize
end
