gui/GuiManager/Text/widthToTextSize.int
Ryan Ward 277cd5c553 I finally updated this thing
I need to keep a consistant record. I have small updates that exist everywhere sigh.
2019-02-10 10:09:01 -05:00

5 lines
139 B
Plaintext

function gui:widthToTextSize(n)
if self.Font then
self:setDualDim(nil,nil,self.Font:getWidth(self.text)+(n or 4),nil,nil,nil,0)
end
end