1
0
mirror of https://github.com/kepler155c/opus synced 2025-01-01 03:10:28 +00:00

ui checkbox oops

This commit is contained in:
kepler155c@gmail.com 2019-01-23 19:25:09 -05:00
parent 2438a40677
commit 66f9481e7d

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