Thanks to both of you. I've just tried to create my own copy of UIDropDown and it's absolutly simple.
Scary cat: I'll definitly switch to your dropdown replacement at some point in the future as I'm extremly unhappy with the overburdened and over-complicated Blizzard dropdown implementation for a long time.
Unfortunately I can't afford the time to customize my existing code right now. :/
For everyone who has taint issues with dropdown and stumbles upon this thread:
Copy UIDropDownMenuTemplates.xml, UIDropDownMenu.xml, and UIDropDownMenu.lua from the Blizzard UI and load them with your addon.
Then use a text editor to rename every occurence of "DropDown" to "DropDownNoTaint" within all 3 files and within you existing code that uses dropdowns.
And last but not least in UIDropDownMenuTemplates.xml rename "UI-DropDownNoTaintRadioChecks" back to "UI-DropDownRadioChecks"
That's all. Takes 1 minute and eliminates all dropdown taint problems.
Last edited by Duugu : 09-13-14 at 10:21 AM.
|