/
## Interface: 70100 |
## Interface: 70200 |
## Title: Lib: NoTaint_UIDropDownMenu |
## Notes: Replacement for standard UIDropDownMenu |
## Version: 7.1.0.22908 |
## Version: 7.2.0.23789 |
## X-Category: Libraries |
# ## Check out the following page for more details: |
-- Set the initialize function and call it. The initFunction populates the dropdown list. |
if ( initFunction ) then |
frame.initialize = initFunction; |
Lib_UIDropDownMenu_SetInitializeFunction(frame, initFunction); |
initFunction(frame, level, frame.menuList); |
end |
end |
function Lib_UIDropDownMenu_SetInitializeFunction(frame, initFunction) |
frame.initialize = initFunction; |
end |
function Lib_UIDropDownMenu_RefreshDropDownSize(self) |
self.maxWidth = Lib_UIDropDownMenu_GetMaxButtonWidth(self); |
self:SetWidth(self.maxWidth + 25); |