ui checkbox oops

This commit is contained in:
kepler155c@gmail.com 2019-01-23 19:25:09 -05:00
parent 2438a40677
commit 66f9481e7d
1 changed files with 2 additions and 0 deletions

View File

@ -3077,6 +3077,8 @@ UI.Checkbox.defaults = {
function UI.Checkbox:setParent()
if not self.width and not self.ex then
self.width = (self.label and #self.label or 0) + 3
else
self.widthh = 3
end
UI.Window.setParent(self)
end