Thread Tools Display Modes
Unread 04-12-10, 02:07 PM   #1
drago87
A Defias Bandit
Join Date: Apr 2010
Posts: 3
The target Debuff Panel.

What file and line do i need to change to move the Target Debuff window? (The one above the bags)
drago87 is offline  
Unread 04-12-10, 04:39 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
spiel2001 is offline  
Unread 04-12-10, 06:14 PM   #3
drago87
A Defias Bandit
Join Date: Apr 2010
Posts: 3
Thumbs down

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",
drago87 is offline  
Unread 04-13-10, 04:33 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
spiel2001 is offline  
Unread 04-13-10, 06:33 AM   #5
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
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.
__________________
Xrystal is online now  
Unread 04-13-10, 08:54 AM   #6
drago87
A Defias Bandit
Join Date: Apr 2010
Posts: 3
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.
drago87 is offline  
Unread 04-13-10, 09:47 AM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
spiel2001 is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » The target Debuff Panel.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off