Mmm using the lastest version available on WAU im having some weird with the parenting function when i try to parent it to panels #4 and up. My panels 2 and 3 and parented to panel1, and its working great. But whenever i try to parent a panel to panel #4 and up, that panel dissapear.
It shouldn't matter. There was a tiny parenting change a few days ago, but I don't see how that could produce the problem you've indicated. You could try using an older version of eePanels from 2+ weeks ago to see if that fixes your problem.
Is it possible your panel4 is so small, you're not seeing the new panels once they're parented? Remember, when you parent a panel, the child panel sets its height/width to the same size as the parent panel. Does the panel disappear the second you parent it? Does it disappear/reappear once you do a /reload? Try creating a panel 5, and parent it to panel 4. Then set panel 5's parent back to UIPanel, and then parent panel 4 to panel 5. Do both of those work correctly?
Are we suppose to be able to parent a panel to another panel thats already parented?
ie: panel5 is parented to panel4, and panel6 parented to panel5.
because when i try, the anchor point of panel6 become the bottom left corner of my screen. instead of being the top left corner of panel5.
Hmm... I thought I tested for this when I put it in, but it's possible that it's a bug. Did you try a /reload to see if it "fixes" itself?
Quote from Khayr »
Official feature request: "Show panel only when grouped / in a raid" :)
I wouldn't ever put something like that in. If I was going to put something in, it would be the ability to add custom code to any eePanel you wanted. Unfortunately, both are impossible as I don't play WoW anymore, and can't add big features like these.
Your best bet is to make your own simple mod (There are plenty of examples floating around), specify eePanels as a dependency in the .toc, and add the code in which listens for joining/leaving a raid, and then show/hide a panel based on that. You could probably find some help doing this fairly quickly if you tried.
Official feature request: "Show panel only when grouped / in a raid" :)
I wouldn't ever put something like that in. If I was going to put something in, it would be the ability to add custom code to any eePanel you wanted. Unfortunately, both are impossible as I don't play WoW anymore, and can't add big features like these.
Your best bet is to make your own simple mod (There are plenty of examples floating around), specify eePanels as a dependency in the .toc, and add the code in which listens for joining/leaving a raid, and then show/hide a panel based on that. You could probably find some help doing this fairly quickly if you tried.
If you want to see an example of a custom mod that does just that, check out Chaya's UI compilation. The author made a custom mod called "PanelSizer" that automatically changed eePanel frames for nQuestLog, oRA MT frames, Pitbull party frames.. etc. It doesn't have slash commands or a UI so you have to do all the setup through the lua, but it gave me a good starting point. The code points to specific frame numbers, so if you add or delete an eePanel frame in game, it will most likely break PanelSizer and you would need to go back into the lua and update the panel number. It's kind of tedious, but if you're willing to play with some code, it's well worth it.
Maybe this has been answered, but here it goes anyway.
Is it possible to have character specific panels? As in i want to use one set for my mage, and another for my rogue etc...
The parent for SW_Stats is the UIParent. Or are you looking for the frame name? I don't recall what it is, but hover your mouse over the frame and type:
The parent for SW_Stats is the UIParent. Or are you looking for the frame name? I don't recall what it is, but hover your mouse over the frame and type:
/print GetMouseFocus():GetName()
Im looking for something I could attach my frames to when it comes to SW_Stats..
The /print command isnt helping me either, only thing it does is print "GetMouseFocus():GetName()" in chat... weird thing is it use to work on things...
Just a heads up: Be careful when using Visor2 around eePanels. I had accidentally set some settings in visor2 for an eePanel and had to backtrack like mad to figure it out. Know what frame you're using Visor2 on!!
PS, added question, probably asked already in this thread, forgive me!
I would like to frame a Pitbull unit frame. The most elegant way to do this seems to be setting a "background" eepanel with a parent of the pitbull frame. Then, setting a "border" eepanel with a parent frame of that bakground eepanel. Offset the border frame and extend it out a bit and we're all good, right?
However, it seems like this parenting hierarchy (PitbullUnitFrame1 has child eePanel1 has child eePanel2) causes the final child eePanel2 to whack out and set X,Y value to 0,0.
Am I missing something here? Edit: I'm using rev 44759 of eePanels.
Tryed out Visor2, still couldnt get the frame name for SW_Stats...
Im getting desperate here, it's one of the final pieces I need to fix before my UI is complete...
I have no clue why it's not working for you. That's the exact code to use, and you use it with your mouse over the SWS frame. I know you can get the frame name that way, and I know you can parent and eePanel to it. I've done it myself.
@ illepic: try parenting both eePanels to the PitBull frame
There's some sorta funky stuff that's going on with parenting. I dunno why. Sometime things work perfectly, sometimes you have to reload before they work. And I know that parenting one eePanel to another works, but putting an eePanel in an eePanel in an eePanel doesn't work. I have no idea why right now.
Apperantly there was an addon/addons that interfered with the frame, not allowing me to get the name...
Simply disabled them all except SW_Stats and Vizor (not sure why, figured just incase) and got the addon with the /print command..
Parenting should now work correctly. You should now be able to parent to panels that are nested. This means you can attach panels to the Minimap (not just MiniMapCluster), nest eePanels inside themselves, etc.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Any idea if im doing something wrong here?
Is it possible your panel4 is so small, you're not seeing the new panels once they're parented? Remember, when you parent a panel, the child panel sets its height/width to the same size as the parent panel. Does the panel disappear the second you parent it? Does it disappear/reappear once you do a /reload? Try creating a panel 5, and parent it to panel 4. Then set panel 5's parent back to UIPanel, and then parent panel 4 to panel 5. Do both of those work correctly?
Are we suppose to be able to parent a panel to another panel thats already parented?
ie: panel5 is parented to panel4, and panel6 parented to panel5.
because when i try, the anchor point of panel6 become the bottom left corner of my screen. instead of being the top left corner of panel5.
but even if we can't its no big deal hehe, just wondering.
awsome work evil btw. eepanels is rocking the house!
Official feature request: "Show panel only when grouped / in a raid" :)
I want you to have my babies if you can add this to eePanels!
Hmm... I thought I tested for this when I put it in, but it's possible that it's a bug. Did you try a /reload to see if it "fixes" itself?
I wouldn't ever put something like that in. If I was going to put something in, it would be the ability to add custom code to any eePanel you wanted. Unfortunately, both are impossible as I don't play WoW anymore, and can't add big features like these.
Your best bet is to make your own simple mod (There are plenty of examples floating around), specify eePanels as a dependency in the .toc, and add the code in which listens for joining/leaving a raid, and then show/hide a panel based on that. You could probably find some help doing this fairly quickly if you tried.
If you want to see an example of a custom mod that does just that, check out Chaya's UI compilation. The author made a custom mod called "PanelSizer" that automatically changed eePanel frames for nQuestLog, oRA MT frames, Pitbull party frames.. etc. It doesn't have slash commands or a UI so you have to do all the setup through the lua, but it gave me a good starting point. The code points to specific frame numbers, so if you add or delete an eePanel frame in game, it will most likely break PanelSizer and you would need to go back into the lua and update the panel number. It's kind of tedious, but if you're willing to play with some code, it's well worth it.
But whenever I enter that in the parent section thing it wont work.
Another question, what are the main Parents for Omen? So i can make some nice borders for it :)
oh, and attaching to another Eepanel didnt work either :X
Will do my daily update later on and try again tho
Is it possible to have character specific panels? As in i want to use one set for my mage, and another for my rogue etc...
make sure you make the parent as "eePanel#" ie: eePanel3 (capital P needed!)
thanks
Im looking for something I could attach my frames to when it comes to SW_Stats..
The /print command isnt helping me either, only thing it does is print "GetMouseFocus():GetName()" in chat... weird thing is it use to work on things...
PS, added question, probably asked already in this thread, forgive me!
I would like to frame a Pitbull unit frame. The most elegant way to do this seems to be setting a "background" eepanel with a parent of the pitbull frame. Then, setting a "border" eepanel with a parent frame of that bakground eepanel. Offset the border frame and extend it out a bit and we're all good, right?
However, it seems like this parenting hierarchy (PitbullUnitFrame1 has child eePanel1 has child eePanel2) causes the final child eePanel2 to whack out and set X,Y value to 0,0.
Am I missing something here? Edit: I'm using rev 44759 of eePanels.
Im getting desperate here, it's one of the final pieces I need to fix before my UI is complete...
I have no clue why it's not working for you. That's the exact code to use, and you use it with your mouse over the SWS frame. I know you can get the frame name that way, and I know you can parent and eePanel to it. I've done it myself.
@ illepic: try parenting both eePanels to the PitBull frame
Simply disabled them all except SW_Stats and Vizor (not sure why, figured just incase) and got the addon with the /print command..
Thanks for the help..
Parenting should now work correctly. You should now be able to parent to panels that are nested. This means you can attach panels to the Minimap (not just MiniMapCluster), nest eePanels inside themselves, etc.