Ace3

204 - Tab subgroups inside inline groups become inline

What steps will reproduce the problem?
1. Create an options group with inline="true" childGroup="tab" and subgroups inside.
2. Inject into Blizz options, or otherwise display.

What is the expected output? What do you see instead?
Expected: tabs in a container panel.
Observed: inline panels in a container panel.

What version of the product are you using?
AceConfigDialog-3.0 ver 50

Please provide any additional information below.
Useful options table:
    self.options = {
        name = "options,
        type = "group",
        args = {
            tabcontainer = {
                name = "tabcontainer",
                type = "group",
                childGroups = "tab",
                inline=true,
                args = {
                    primarytab = {
                        name = "primary tab",
                        type = "group",
                        order=1,
                        args = {
                            option = {
                                name = "option",
                                type = "toggle",
                            },
                        },
                    },
                    secondary = {
                        name = "secondary tab",
                        type = "group",
                        order=1,
                        args = {
                            option = {
                                name = "option",
                                type = "toggle",
                            },
                        },
                    },
                },
            },
        },
    }

User When Change
Nevcairiel Dec 01, 2010 at 17:07 UTC Changed status from New to Declined
sinepi Nov 29, 2010 at 02:34 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of sinepi sinepi Dec 09, 2010 at 04:57 UTC - 0 likes

    I believe a demonstration is in order.

    Tab Group

    This is what I'm trying to achieve. I thought this would be an container group, with childGroups='tab' and two groups of controls inside.

    Nevcairiel, if I do what you said, I get the two-tab box at the bottom below all other controls (regardless of the order field) and broken (spanning out of the bottom of the container, the scrollbar flipped upside-down, etc).

  • Avatar of Nevcairiel Nevcairiel Dec 06, 2010 at 20:41 UTC - 0 likes

    I fail to see the point of that whole "tabcontainer" subgroup, anyhow. Remove it, set childGroups on the main group, voila, tabs!

  • Avatar of mikk mikk Dec 06, 2010 at 17:57 UTC - 0 likes

    I'm wondering if there's some basic misunderstanding here... if you want tabs, just DON'T set "inline=true"?

  • Avatar of sinepi sinepi Dec 06, 2010 at 03:55 UTC - 0 likes

    So... It's possible to have a tree-style tab control injected into the Blizzard options dialog with no problems, but impossible to have a tab set?

    Last edited Dec 06, 2010 by sinepi
  • Avatar of Nevcairiel Nevcairiel Dec 01, 2010 at 17:06 UTC - 0 likes

    The inline property will cascade down the tree, so all groups contained in an inline group will be inline as well.

    This is an intended design, because handling fixed-height groups in an variable-height container does not work.

    Last edited Dec 01, 2010 by Nevcairiel
  • Avatar of sinepi sinepi Nov 29, 2010 at 02:39 UTC - 0 likes

    Seems that in FeedOptions, hasChildGroups==false for my example group setup. Shouldn't it dig recursively into groups, checking if there aren't any nested non-inlines there?

  • 6 comments

Facts

Last updated
Dec 01, 2010
Reported
Nov 29, 2010
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0
Component
AceConfig-3.0

Reported by

Possible assignees