View Single Post
05-02-10, 05:14 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It should be possible to re-anchor the dashboard and console.

Edit [ Interface > AddOns > nUI > Main > nUI.lua ] and locate the section of code I've copied below.

Code:
nUI_BottomBars.Anchor = CreateFrame( "Frame", "$parent_Anchor", nUI_BottomBars );
nUI_BottomBarsLocator:SetPoint( "BOTTOM", UIParent, "BOTTOM", 0, 0 );
nUI_BottomBars:SetPoint( "TOP", nUI_BottomBarsLocator, "TOP", 0, 0 );
nUI_BottomBars.Anchor:SetPoint( "TOP", nUI_BottomBars, "TOP", 0, 0 );

nUI_Dashboard.Anchor = CreateFrame( "Frame", "$parent_Anchor", nUI_Dashboard );
nUI_Dashboard:SetPoint( "BOTTOM", nUI_BottomBarsLocator, "TOP", 0, 0 );
nUI_Dashboard.Anchor:SetPoint( "CENTER", nUI_Dashboard, "CENTER", 0, 0 );

nUI_TopBars.Anchor = CreateFrame( "Frame", "$parent_Anchor", nUI_TopBars );
nUI_TopBarsLocator:SetPoint( "BOTTOM", UIParent, "TOP", 0, 0 );
nUI_TopBars:SetPoint( "BOTTOM", nUI_TopBarsLocator, "BOTTOM", 0, -115 );
nUI_TopBars.Anchor:SetPoint( "BOTTOM", nUI_TopBars, "BOTTOM", 0, 0 );
If you want nUI's elements to appear in your left monitor, then make the following two changes to the areas I have highlighted...

Code:
nUI_BottomBarsLocator:SetPoint( "BOTTOMLEFT", UIParent, "BOTTOMLEFT",  0, 0 );
nUI_TopBarsLocator:SetPoint( "BOTTOMLEFT",  UIParent, "TOPLEFT", 0, 0 );
If you want nUI's elements in the right hand display, make these changes...

Code:
nUI_BottomBarsLocator:SetPoint( "BOTTOMRIGHT", UIParent, "BOTTOMRIGHT",   0, 0 );
nUI_TopBarsLocator:SetPoint( "BOTTOMRIGHT",  UIParent, "TOPRIGHT", 0, 0 );
NOTE: If you're using FuBar, TitanPanel or any of the integrated data brokers then things are going to be more complicated.
__________________

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/