Nested subcategory options in addon interface options
I currently have an expandable category inside of my addon category for the interface options. When I expand the subcategory, the options show at the bottom instead of under the category being expanded. Is there any way to achieve the expected behavior of having them expand under this category? I can currently set this category to the last option in the addon's category list, but this will only be a bandaid as I planned on having more expandable subcategories in the future.
Here is a streamable video link demonstrating my issue. https://streamable.com/kpvgrk |
Are you definitely setting the parent category as the category you want to expand it under ?
-- Set the name for the Category for the Panel panel.name = "Profile Manager" -- the panel.name value of the parent configuration panel, used to display a hierarchical category tree. -- If the parent panel is not specified or does not exist, the panel is displayed as a top-level panel panel.parent = "Parent Category Name" Granted I don't have a triple layer of options yet in my UI addon so unless this is a limitation of Blizzards options panel system it should work in perpetuity (sp). |
The number one rule in asking for help is to post your code. It is hard to help with out seeing the code in question.
The current code for Minguas Suite has this: Code:
function PanelManager:CreateSubcategoryPanel(panelName) Code:
function PanelManager:CreateSubcategoryPanel(panelName) |
Quote:
Here is a reproducible example. Code:
panelLevel1 = CreateFrame("Frame") |
It is definitely an issue with Blizzard's code. I don't think they planned on subcategories of subcategories. If you add all secondary entries first then add the tertiary entries they will be in the correct order (but not indented correctly).
|
Quote:
|
Quote:
|
All times are GMT -6. The time now is 03:36 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI