- Lua/XML Help
||05-18-21 02:36 AM
[TBC Beta] Expand Interface Category
Found solution after posting. Needed to assign the hidden variable for the subpanels before calling InterfaceAddOnsList_Update.
I used to be able to do this on an older version of the game, but i'm running into issues on the TBC beta client.
I'm trying to collapse/expand a category through code.
Here is example code to create a category with one subcategory.
panel = CreateFrame("Frame")
panel.name = "Test Category"
local subpanel = CreateFrame("Frame")
subpanel.name = "Sub Category"
subpanel.parent = panel.name
Here is my code for trying to expand the category.
panel.collapsed = false
The "expand/collapse" button updates, but the subcategory visibility is not actually being updated here.
I also tried with
Any ideas on how I can achieve this?
|All times are GMT -6. The time now is 07:16 PM.
vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI