You'll notice on line 79 I generate a GUI heading which should have the title "Autosell List". Whenever I use this, the elements after don't show up, but they take up space (The inline group they are contained in are as tall as if the elements were there, but they are just invisible.) The heading itself also does not show up.
It does this regardless of using the GetGuiHeading utility function I made, or manually doing it with GUI:Create().
Thanks, hopefully this is something pretty simple that I'm missing lol.
Nothing immediately jumps out at me, but try a couple things (not solutions, just to get more information): what happens when you only add the ListInteractionsGroup at the end, and none of the others? (That is, comment out the other lines). If it becomes visible, start uncommenting the other "scroller:AddChild" lines; at what point do things go wrong again?
It's been a while since I looked at AceGUI code, but I seem to recall needing to set some layout options to each container before things operated smoothly.
Even clearing out everything except for the main Frame element (MFrame), and just adding a heading as a child to that and nothing else, the heading is still invisible.
Really odd, any idea what layout options I might need to put on anything?
Honestly the AceConfig looks like it will be more tedious to manage than just doing it in AceGUI. So far I prefer this, but the main factor is the fact that AceConfig doesn't have a dropdown multiselect box.
I'm remaking an inventory managing addon I made before but lost due to drive failure. It had a multiselect dropdown box in it where you could check items to disable from a list temporarily (Like temporarily disabling a blacklisted item, so you can keep them). I can't for the life of me remember how I got that to work with AceConfig, but somehow I did.
edit: That being said, I am having some weirdness with the Dropdown that's making me wonder if it wouldn't be easier to figure out how I got AceConfig to work, lol. Though I'm almost done with this, layout wise, and it was fairly easy to get working.
Everytime your create a container, you should probably call SetLayout on it. The most common choice that mimicks AceConfig behavior would be "Flow". Other options would be "List" which just stacks widgets on top of each other, or "Fill", which is a special layout where one child fills the entire container (usually a container inside a container, ie. a scrollframe inside a frame)
Everytime your create a container, you should probably call SetLayout on it. The most common choice that mimicks AceConfig behavior would be "Flow". Other options would be "List" which just stacks widgets on top of each other, or "Fill", which is a special layout where one child fills the entire container (usually a container inside a container, ie. a scrollframe inside a frame)
All the container elements actually have SetLayout called on it I believe.
In your paste, MFrame for example doesn't. Judging from the code, you probably want a Fill layout on that one.
All your InlineGroups also don't.
Oh, my bad. I actually set all the layouts on the inline groups not too long after making the post, as it defaults to list when I wanted flow anyway. That's why I thought they were.
As for MFrame I'll have to try setting that as well in a bit. I forgot about that one.
Alright so I set the layout on MFrame to fill and that didn't do it, but that did make everything after the heading stop becoming invisible too. Then I figured I'd try setting SetFullWidth(true) on the heading and now the heading shows up.
Honestly the AceConfig looks like it will be more tedious to manage than just doing it in AceGUI. So far I prefer this, but the main factor is the fact that AceConfig doesn't have a dropdown multiselect box.
(/edit: granted I haven't used multiselect in any addons of mine, so I don't recall if it presents itself as a dropdown without looking at the code...)
(/edit: granted I haven't used multiselect in any addons of mine, so I don't recall if it presents itself as a dropdown without looking at the code...)
I had looked at this one, but it doesn't do the same thing I'm after. That one is multiple checkboxes, I think it puts a border around them too, to separate them. What I'm after is a dropdown list that you can also multi-select in, kind of like the default AceGUI Dropdown widget with Multiselect set to true. The reason for this is that the addon will have a lot of things in this list.
You'll notice on line 79 I generate a GUI heading which should have the title "Autosell List". Whenever I use this, the elements after don't show up, but they take up space (The inline group they are contained in are as tall as if the elements were there, but they are just invisible.) The heading itself also does not show up.
It does this regardless of using the GetGuiHeading utility function I made, or manually doing it with GUI:Create().
Thanks, hopefully this is something pretty simple that I'm missing lol.
It's been a while since I looked at AceGUI code, but I seem to recall needing to set some layout options to each container before things operated smoothly.
Really odd, any idea what layout options I might need to put on anything?
I'm remaking an inventory managing addon I made before but lost due to drive failure. It had a multiselect dropdown box in it where you could check items to disable from a list temporarily (Like temporarily disabling a blacklisted item, so you can keep them). I can't for the life of me remember how I got that to work with AceConfig, but somehow I did.
edit: That being said, I am having some weirdness with the Dropdown that's making me wonder if it wouldn't be easier to figure out how I got AceConfig to work, lol. Though I'm almost done with this, layout wise, and it was fairly easy to get working.
All the container elements actually have SetLayout called on it I believe.
All your InlineGroups also don't.
Oh, my bad. I actually set all the layouts on the inline groups not too long after making the post, as it defaults to list when I wanted flow anyway. That's why I thought they were.
As for MFrame I'll have to try setting that as well in a bit. I forgot about that one.
Thanks!
You mean this one? http://www.wowace.com/addons/ace3/pages/ace-config-3-0-options-tables/#w-multiselect
(/edit: granted I haven't used multiselect in any addons of mine, so I don't recall if it presents itself as a dropdown without looking at the code...)
I had looked at this one, but it doesn't do the same thing I'm after. That one is multiple checkboxes, I think it puts a border around them too, to separate them. What I'm after is a dropdown list that you can also multi-select in, kind of like the default AceGUI Dropdown widget with Multiselect set to true. The reason for this is that the addon will have a lot of things in this list.
Thanks though!
That should hopefully do it.