-
I've created a few simple panels which i'd like to attach and have them only visible when my target has a target - If you get what I mean.

What do I use to do this?
Thanks in advance :3Posted 11 months ago - #1
-
If you wish to help support this site please disable your adblock program.

You have to anchor them onto the target frame.
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #2 -
Change Target to: TukuiTarget
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #4 -
I suspect Sinaris code seeing all these spaces ( - _ - )
Every man is the architect of his own fortune.Posted 11 months ago - #5 -
Sinaris said:
Change Target to: TukuiTargetlocal ChatLineV = CreateFrame( "Frame", "ChatLineV", TukuiTarget ) ChatLineV:CreatePanel( "Default", 1, 20, "BOTTOM", TukuiTarget, "TOP", 0, 1 )
This moves them 180px to the right. They are still visible even without having a target.
Jasje said:
I suspect Sinaris code seeing all these spaces ( - _ - )It is indeed a part of his code :)<3
Additional question: What's the easiest way to identify a frame?
Posted 11 months ago - #6 -
Type /fstack into the chat and throw the mouse over the frame :P
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #7 -
Add the code into the target section from the layout code.
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #9 -
Then you got a dubble frame hidden somewhere. Mouseover that frame with /frame or /fstack and see what comes out
Every man is the architect of his own fortune.Posted 11 months ago - #11 -
Well ChatLineH comes out, delete that part in your panels and your set(that is if ChatLineV is your main panel)
Every man is the architect of his own fortune.Posted 11 months ago - #13 -
Well. There are two panels. The horizontal line is ChatLineH and the vertical line is ChatLineV.
Removing either will also remove the same part from the target frame.
Sent my files to Sinaris on his request in order for him to take a look at them, perhaps he can find what's causing it.
Posted 11 months ago - #14 -
Removing the entire code section removes both panels. So there's something in here that's causing it :|
local ChatLineV = CreateFrame( "Frame", "ChatLineV", TukuiTarget ) ChatLineV:CreatePanel( "Default", 1, 20, "CENTER", TukuiTarget, "CENTER", -90, -25 ) local ChatLineH = CreateFrame( "Frame", "ChatLineH", TukuiTarget ) ChatLineH:CreatePanel( "Default", 80, 1, "CENTER", ChatLineV, "CENTER", 40, -10 )
Posted 11 months ago - #15 -
Where are you putting the code?
Posted 11 months ago - #16 -
I am at home in a few minutes. I will Take a Look at this then.
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #18 -
In which layout do you have this? Tukui oder Cohesion?
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #20 -
send you and pm with the solution :P
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #21 -
glad to hear that its working now :)
Homepage: http://www.AsphyxiaUI.de
Facebook: http://www.facebook.com/AsphyxiaUI
Twitter: https://twitter.com/AsphyxiaUIPosted 11 months ago - #23


Reply
You must log in to post.


