Quantcast
WoWInterface - View Single Post - Automatically expand interface options?
View Single Post
04-25-20, 06:46 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,978
The function takes either the exact string you set as panel.name, but can also take panel itself. I'd recommend calling it with the later to prevent name collisions.

Note: This works for both your main panel and your subcategory panels.
(See InterfaceOptionsFrame.lua:418)
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-25-20 at 06:54 PM.
  Reply With Quote