WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   The target Debuff Panel. (https://www.wowinterface.com/forums/showthread.php?t=31839)

drago87 04-12-10 02:07 PM

The target Debuff Panel.
 
What file and line do i need to change to move the Target Debuff window? (The one above the bags)

spiel2001 04-12-10 04:39 PM

It depends on which unit panel you're looking at. Generically, it's in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}_Target.lua ] in the ["Auras"] section where you find the following...

Code:

            [2] =
            {
                anchor =
                {
                    anchor_pt        = "BOTTOMRIGHT",
                    relative_to      = "nUI_Dashboard",
                    relative_pt      = "TOPRIGHT",
                    xOfs            = -20,
                    yOfs            = -40,
                },       

.
You can modify xOfs to move it left/right and yOfs to move it up/down

drago87 04-12-10 06:14 PM

Ty for the fast anser got it to wurk... sort of

Moved it to the right of the player buff and lost the name and time (sitll got the icon) of the spells.

Changed
Code:

[2] =
                        {
                                anchor =
                                {
                                        anchor_pt        = "BOTTOMRIGHT",
                                        relative_to      = "nUI_Dashboard",
                                        relative_pt      = "TOPRIGHT",
                                        xOfs            = 400,
                                        yOfs            = -40,
                                },               
                                options =
                                {
                                        enabled          = true,
                                        width            = 350,
                                        size            = 28.5,
                                        strata          = nil,
                                        level            = 1,
                                       
                                        aura_type        = "help",
                                        origin          = "TOPRIGT",

To
Code:

[2] =
                        {
                                anchor =
                                {
                                        anchor_pt        = "BOTTOMLEFT",
                                        relative_to      = "nUI_Dashboard",
                                        relative_pt      = "TOPLEFT",
                                        xOfs            = 400,
                                        yOfs            = -80,
                                },               
                                options =
                                {
                                        enabled          = true,
                                        width            = 350,
                                        size            = 28.5,
                                        strata          = nil,
                                        level            = 1,
                                       
                                        aura_type        = "help",
                                        origin          = "TOPLEFT",


spiel2001 04-13-10 04:33 AM

Is that all you changed was those few values? If so then I have no clue why you lost the other info because all you did was move the block of auras. Are you sure you didn't alter something else by accident?

Xrystal 04-13-10 06:33 AM

Sounds like you may have moved it to the point that it is over? the other aura bars. Maybe change xOfs to move it side to side until the writing is visible again.

drago87 04-13-10 08:54 AM

Found it it was the
Code:

origin          = "TOPLEFT",
that made it disepere it made the icon stick to the left side of the box and the text waniched outside the box.

spiel2001 04-13-10 09:47 AM

Yeah -- the "origin" determines if the box is left or right justified. And, actually, now that I think about it, that would cause the problem because the offsets for the text, etc., a designed with the notion that it is a TOPRIGHT aligned buff frame.


All times are GMT -6. The time now is 10:52 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI