I need to keep a consistant record. I have small updates that exist everywhere sigh.
5 lines
139 B
Plaintext
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 |