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 |
- 6 comments
- 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
- Reply
- #6
sinepi Dec 09, 2010 at 04:57 UTC - 0 likesI believe a demonstration is in order.
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).
- Reply
- #5
Nevcairiel Dec 06, 2010 at 20:41 UTC - 0 likesI fail to see the point of that whole "tabcontainer" subgroup, anyhow. Remove it, set childGroups on the main group, voila, tabs!
- Reply
- #4
mikk Dec 06, 2010 at 17:57 UTC - 0 likesI'm wondering if there's some basic misunderstanding here... if you want tabs, just DON'T set "inline=true"?
- Reply
- #3
sinepi Dec 06, 2010 at 03:55 UTC - 0 likesSo... 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?
- Reply
- #2
Nevcairiel Dec 01, 2010 at 17:06 UTC - 0 likesThe 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.
- Reply
- #1
sinepi Nov 29, 2010 at 02:39 UTC - 0 likesSeems 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?