diff --git a/Basalt/objects/Dropdown.lua b/Basalt/objects/Dropdown.lua index 613e2a6..0e538df 100644 --- a/Basalt/objects/Dropdown.lua +++ b/Basalt/objects/Dropdown.lua @@ -83,10 +83,26 @@ return function(name, basalt) return self end, + setDropdownWidth = function(self, width) + return self:setDropdownSize(width, dropdownH) + end, + + setDropdownHeight = function(self, height) + return self:setDropdownSize(dropdownW, height) + end, + getDropdownSize = function(self) return dropdownW, dropdownH end, + getDropdownWidth = function(self) + return dropdownW + end, + + getDropdownHeight = function(self) + return dropdownH + end, + mouseHandler = function(self, button, x, y, isMon) if (isOpened) then local obx, oby = self:getAbsolutePosition()