View Single Post
12-04-09, 05:13 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
nUI does show the target portrait in the dashboard... it would be overkill to show it in both places. That said, if it is something you really want to have, you could add a portrait to the HUD easily enough.

You would need to edit [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_Target.lua ] and add the following data to it...

Code:
        ["Portrait"] =
        {
            anchor =
            {
                anchor_pt   = "TOPRIGHT",
                relative_to = "$parent_Health",
                relative_pt = "TOPLEFT",
                xOfs        = 0,
                yOfs        = 0,
            },        
            options =
            {
                enabled = true,
                height  = 120,
                width   = 120,
                inset   = 0,
                strata  = nil,
                level   = nil,

                show_anim = true,
                model     = false,
                outline   = false,
            },
        },
You can play with xOfs and yOfs to move the portrait left/right and up/down (respectively) and you can play with the height and width to change the size of the portrait. You can actually make these changes while logged into WoW, just make the changes then save them and do a '/nui rl' to relaod the UI and see the results.
__________________

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/