Thread Tools Display Modes
04-28-10, 05:03 PM   #1
wacko1
A Cyclonian
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 48
Exclamation easy way to put the entire target box a little up

is there an easy way to move the entire target "buffbox" a little up

the unitframe u get on the right side ( above the bagbar ) i mean when u have a target
i tried to change the offset y value in the lua's but somehow it only lifts the buff/debuff names up

and dont like to mess around any further in the lua

most things are movable with / nui movers just not that box

would that be possible in a future update
 
04-28-10, 05:16 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
In nUI6, yes... in nUI5, no... other than by editing the layout file (which while technically Lua, is not "code" -- it's just the data the code reads to know where to put things.

To move the target auras up, you edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}Target.lua ] where {panel mode} is one of Solo, Party, Raid10, etc. and locate the ["Aura"] section near the bottom of the file. Continuing toward the bottom of the file you'll find this section...

Code:
            [2] =
            {
                anchor =
                {
                    anchor_pt        = "BOTTOMRIGHT",
                    relative_to      = "nUI_Dashboard",
                    relative_pt      = "TOPRIGHT",
                    xOfs             = -20,
                    yOfs             = -40,
                },        
.
Changing the yOfs value (-40) will move the entire set of target auras up and down. Negative numbers move it down and positive values move it up. Just try changing the value, then save the file and do a '/nui rl' to see what you changes look like.
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » easy way to put the entire target box a little up

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