diff --git a/sys/apis/ui.lua b/sys/apis/ui.lua index 1813f40..a71ac83 100644 --- a/sys/apis/ui.lua +++ b/sys/apis/ui.lua @@ -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