Panel manipulation question here... I have a few lua scripts on a few different frames and THIS and or directly calling a SetHeight / SetWidth on a frame is resizing the wrong frame.....
For instance, eePanel7 is setup with a lua script to change it's width, instead it's changing eePanel6's width....
[edit]
I've come to the conclusion that this has to be due to multiple scripts hooking size changes on the same frame. I'm removing them all and moving them to 1 central frame and having each size change modify all of the frames at the same time rather than 1 by 1.
Currently I'm using simpleminimap, and tried to parent a frame to the quest tracking frame.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Currently I'm using simpleminimap, and tried to parent a frame to the quest tracking frame.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Cheers!
i think you could create another panel, anchor it to ur panel but keep the "Parent" as UIParent. Then make a auto-resize script linked to ur questtracker panel. And add ur script about the visibilty when quest tracked.
Like that its gonna resize with quest. But without the visibility script, the panel will always be visible.
Currently I'm using simpleminimap, and tried to parent a frame to the quest tracking frame.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Cheers!
No matter what, you'll need to use the resize script as parented frames don't inherit their parent's size.
You can set the parent to UIParent, and set the anchor to the quest frame. This will make the frame move when quest frame moves, but it won't show/hide when the quest frame is shown.
You would then have to make another script to change the panel's visibility depending on if the quest frame is visible. You might be able to do this by hooking the OnShow and OnHide functions of the quest frame and listening to them to tell you when to show/hide the eePanel.
Currently I'm using simpleminimap, and tried to parent a frame to the quest tracking frame.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Cheers!
i just tried it, and actually. The white boxes of the quest tracking is only there when SimpleMinimap is not locked. Put back the alpha to 100% and just lock SimpleMinimap.
that remove the visibility script.
The thing is the "smmQuestWatchFrame" doesnt rezise with the quests tracked.
and i don't think theres a way to fix that :(
i would suggest using UberQuest Reborn(much better quest log imo), parenting ur panels to "UberQuest_Minion_Move" and set the minion(questracker) alpha to 0. Then add a resize script to that panel watching the UberQuest_Minion_Move.
i'm having an issue with attaching 1 panel to the other using the Parent.. i have eePanel2 attached to eePanel1 but i can't get eePanel2 to show up even by resizing etc i even tryed playing with the level to try and show eePanel2 over eePanel1 but no go :(
i'm having an issue with attaching 1 panel to the other using the Parent.. i have eePanel2 attached to eePanel1 but i can't get eePanel2 to show up even by resizing etc i even tryed playing with the level to try and show eePanel2 over eePanel1 but no go :(
Check your anchoring settings. Make sure eePanel1 is the anchor, and that the anchorTo and anchorFrom are set to center (this is just to make it easier to find the frame; you can change it later). Make sure the x and y positions are set to 0.
edit: changing the parent to UIParent and then back to eePanel1 should do all that automatically for you, too. If you still can't see the panel, lock all panels but eePanel2, and move your mouse around to see if you find it somewhere. Also make sure you don't have a script that's hiding eePanel2 on you.
Currently I'm using simpleminimap, and tried to parent a frame to the quest tracking frame.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Cheers!
No matter what, you'll need to use the resize script as parented frames don't inherit their parent's size.
You can set the parent to UIParent, and set the anchor to the quest frame. This will make the frame move when quest frame moves, but it won't show/hide when the quest frame is shown.
You would then have to make another script to change the panel's visibility depending on if the quest frame is visible. You might be able to do this by hooking the OnShow and OnHide functions of the quest frame and listening to them to tell you when to show/hide the eePanel.
Well, I've been mucking about with this for a couple of hours, and I'm just no good with scripts or codes :p. I've got an eye for making it look pretty, but when it comes for variables and all of that snazzy stuff, I'm just lost.
If anyone's feeling bored or has super coding powers that knows how to do this (or knows of a premade one) and could provide a script I'd be very grateful. If not, I'll live without, hehe.
Check your anchoring settings. Make sure eePanel1 is the anchor, and that the anchorTo and anchorFrom are set to center (this is just to make it easier to find the frame; you can change it later). Make sure the x and y positions are set to 0.
edit: changing the parent to UIParent and then back to eePanel1 should do all that automatically for you, too. If you still can't see the panel, lock all panels but eePanel2, and move your mouse around to see if you find it somewhere. Also make sure you don't have a script that's hiding eePanel2 on you.
im unfortunately not having any luck :( maybe i'll try resetting the SV and see if it fixes it
Check your anchoring settings. Make sure eePanel1 is the anchor, and that the anchorTo and anchorFrom are set to center (this is just to make it easier to find the frame; you can change it later). Make sure the x and y positions are set to 0.
edit: changing the parent to UIParent and then back to eePanel1 should do all that automatically for you, too. If you still can't see the panel, lock all panels but eePanel2, and move your mouse around to see if you find it somewhere. Also make sure you don't have a script that's hiding eePanel2 on you.
im unfortunately not having any luck :( maybe i'll try resetting the SV and see if it fixes it
Edit: its working now for some reason heh..
If you changed profiles, or deleted a panel, that might have been the cause.
I have a request to allow the rotation of panels 360?. Like what the addon "Sprocket" did.
You can't rotate panels, only textures. I tried to get texture rotating in, but I didn't have time to get it working correctly, and I won't have time for anything that big anytime soon. It wouldn't mesh well with how panels are currently made either, so I don't know if it'll ever get added.
Hiya. First off I just want to say I'm a new eepanels user (just started playing with it a couple days ago) and I love it so far.
That said I have a question/suggestion.
I couldn't figure out any way to change the alpha settings on custom textures. Am I missing something? If not, I think that would be a fantastic feature. I want to create a panel for my raid frames but I don't want it to be completely opaque.
If I did miss something, any assistance would be greatly appreciated. Thanks.
Well, I've been mucking about with this for a couple of hours, and I'm just no good with scripts or codes :p. I've got an eye for making it look pretty, but when it comes for variables and all of that snazzy stuff, I'm just lost.
If anyone's feeling bored or has super coding powers that knows how to do this (or knows of a premade one) and could provide a script I'd be very grateful. If not, I'll live without, hehe.
Thanks a bunch, and sorry for being a pain!
did you read my post? i offered you the perfect solution on a plate...
Hiya. First off I just want to say I'm a new eepanels user (just started playing with it a couple days ago) and I love it so far.
That said I have a question/suggestion.
I couldn't figure out any way to change the alpha settings on custom textures. Am I missing something? If not, I think that would be a fantastic feature. I want to create a panel for my raid frames but I don't want it to be completely opaque.
If I did miss something, any assistance would be greatly appreciated. Thanks.
Hiya. First off I just want to say I'm a new eepanels user (just started playing with it a couple days ago) and I love it so far.
That said I have a question/suggestion.
I couldn't figure out any way to change the alpha settings on custom textures. Am I missing something? If not, I think that would be a fantastic feature. I want to create a panel for my raid frames but I don't want it to be completely opaque.
If I did miss something, any assistance would be greatly appreciated. Thanks.
You change it through background color.
But that only changes the alpha of the background color, not the custom texture. Or am I doing something wrong?
By the way, here's a screen shot of what I'm talking about. I want to make the panel on the top left semi-transparent.
hmmm
I make some textures for every pitbull party member, make it parent to PitBullCluster1UnitButton1-4 an then someone leave an the wrong texture gets hidden... I controll every things if its right and it is please help :(
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
What Script should i use to hide two panels when pet isn't active and
show them when it is. i cant figure it out (newb at scripts and wow API).
Thanks for your help.
For instance, eePanel7 is setup with a lua script to change it's width, instead it's changing eePanel6's width....
[edit]
I've come to the conclusion that this has to be due to multiple scripts hooking size changes on the same frame. I'm removing them all and moving them to 1 central frame and having each size change modify all of the frames at the same time rather than 1 by 1.
Just modify the script from the last page that evilelvis made. If you change it to pet-relevant stuff, it'll work.
Just parent to the pet frame. No need of script for that.
The problem I've encountered is that if the movers alpha is set to 0 (so I don't see the white boxes), the parented panel is also invisible.
I'm not sure how to get around this. The only solution I could think of is scripting the panel to be visible only when quests are being tracked (if it's possible). Problem with that is that the frame wouldn't adjust it's size to the amount of quests being tracked, and instead just be a fixed size.
Any help someone could give on a solution to this would be lovely.
Cheers!
i think you could create another panel, anchor it to ur panel but keep the "Parent" as UIParent. Then make a auto-resize script linked to ur questtracker panel. And add ur script about the visibilty when quest tracked.
Like that its gonna resize with quest. But without the visibility script, the panel will always be visible.
just an idea i had.
No matter what, you'll need to use the resize script as parented frames don't inherit their parent's size.
You can set the parent to UIParent, and set the anchor to the quest frame. This will make the frame move when quest frame moves, but it won't show/hide when the quest frame is shown.
You would then have to make another script to change the panel's visibility depending on if the quest frame is visible. You might be able to do this by hooking the OnShow and OnHide functions of the quest frame and listening to them to tell you when to show/hide the eePanel.
i just tried it, and actually. The white boxes of the quest tracking is only there when SimpleMinimap is not locked. Put back the alpha to 100% and just lock SimpleMinimap.
that remove the visibility script.
The thing is the "smmQuestWatchFrame" doesnt rezise with the quests tracked.
and i don't think theres a way to fix that :(
i would suggest using UberQuest Reborn(much better quest log imo), parenting ur panels to "UberQuest_Minion_Move" and set the minion(questracker) alpha to 0. Then add a resize script to that panel watching the UberQuest_Minion_Move.
Check your anchoring settings. Make sure eePanel1 is the anchor, and that the anchorTo and anchorFrom are set to center (this is just to make it easier to find the frame; you can change it later). Make sure the x and y positions are set to 0.
edit: changing the parent to UIParent and then back to eePanel1 should do all that automatically for you, too. If you still can't see the panel, lock all panels but eePanel2, and move your mouse around to see if you find it somewhere. Also make sure you don't have a script that's hiding eePanel2 on you.
Well, I've been mucking about with this for a couple of hours, and I'm just no good with scripts or codes :p. I've got an eye for making it look pretty, but when it comes for variables and all of that snazzy stuff, I'm just lost.
If anyone's feeling bored or has super coding powers that knows how to do this (or knows of a premade one) and could provide a script I'd be very grateful. If not, I'll live without, hehe.
Thanks a bunch, and sorry for being a pain!
im unfortunately not having any luck :( maybe i'll try resetting the SV and see if it fixes it
Edit: its working now for some reason heh..
If you changed profiles, or deleted a panel, that might have been the cause.
You can't rotate panels, only textures. I tried to get texture rotating in, but I didn't have time to get it working correctly, and I won't have time for anything that big anytime soon. It wouldn't mesh well with how panels are currently made either, so I don't know if it'll ever get added.
That said I have a question/suggestion.
I couldn't figure out any way to change the alpha settings on custom textures. Am I missing something? If not, I think that would be a fantastic feature. I want to create a panel for my raid frames but I don't want it to be completely opaque.
If I did miss something, any assistance would be greatly appreciated. Thanks.
did you read my post? i offered you the perfect solution on a plate...
You change it through background color.
But that only changes the alpha of the background color, not the custom texture. Or am I doing something wrong?
By the way, here's a screen shot of what I'm talking about. I want to make the panel on the top left semi-transparent.
http://i18.photobucket.com/albums/b106/biggymike/WoWScrnShot_090707_163312.jpg
I make some textures for every pitbull party member, make it parent to PitBullCluster1UnitButton1-4 an then someone leave an the wrong texture gets hidden... I controll every things if its right and it is please help :(