Thread Tools Display Modes
08-12-09, 03:05 PM   #1
Kilara
A Murloc Raider
Join Date: Aug 2009
Posts: 6
Button Bar help

Hello, all.

I just installed nUI, and am loving it so far. Right now, my only issue is that my action bars are too small. How do make them bigger? I can barely see my main action bar.

Thanks in advance for your help!
 
08-12-09, 03:12 PM   #2
Tegarbah
A Wyrmkin Dreamwalker
 
Tegarbah's Avatar
Join Date: Jun 2008
Posts: 58
Originally Posted by Kilara View Post
Hello, all.

I just installed nUI, and am loving it so far. Right now, my only issue is that my action bars are too small. How do make them bigger? I can barely see my main action bar.

Thanks in advance for your help!
The whole console (action bars included) are scaled to match your resolution. The action bars can be resized but it must be done through editing the lua code. See the following thread for instructions on how someone increased the size of the main action bar.

http://www.wowinterface.com/forums/s...ght=action+nui
__________________



 
08-12-09, 03:14 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
I resized my main action bar so that it stood out more than anything else. Although it is good to see things bigger on that bar at least. So here goes:

Folder: nUI\Layouts\Default\
File : nUI_Layout_Default_Dashboard.lua

Below you will see the change I made. btn_size is the size of the button. After you do the change reload the interface or game and use /nui movers to reposition the bar as needed now that it is bigger. You can also see the other bars with the same variables that can be altered. With the other bars though you may find more complications as they border major parts of the interface and thus not easily movable.
Code:
nUI_DefaultConfig.ButtonBars =
{
	["nUI_ActionBar"] =
	{
		btn_size = 75, --53.5,
		gap      = 2,
		anchor   = "BOTTOM",
		xOfs     = 0,
		yOfs     = 123,
		rows     = 1,
		cols     = 12,
		page     = 1,
		nuibind  = "nUI_ACTIONBAR",
		binding  = "ACTIONBUTTON",
		label    = nUI_L["nUI_ActionBar"],
	},

	-- the Bliz "bottom left" bar

	["nUI_TopLeftBar"] =
	{		
		btn_size = 53.5,
		gap      = 2,
		anchor   = "TOPRIGHT",
		yOfs     = 122,
		xOfs     = 0,
		rows     = 1,
		cols     = 12,
		page     = 6,
		nuibind  = "nUI_TOPLEFTBAR",
		binding  = "MULTIACTIONBAR1BUTTON",
		label    = nUI_L["nUI_TopLeftBar"],
	},
	
	-- the Bliz "bottom right" bar

	["nUI_TopRightBar"] =
	{		
		btn_size = 53.5,
		gap      = 2,
		anchor   = "TOPLEFT",
		yOfs     = 122,
		xOfs     = 0,
		rows     = 1,
		cols     = 12,
		page     = 5,
		nuibind  = "nUI_TOPRIGHTBAR",
		binding  = "MULTIACTIONBAR2BUTTON",
		label    = nUI_L["nUI_TopRightBar"],
	},
	
	-- the Bliz "right 1" bar (aka "left" bar in the Bliz code)

	["nUI_LeftUnitBar"] =
	{		
		btn_size = 48,
		gap      = 2,
		anchor   = "BOTTOMLEFT",		
		yOfs     = -250,
		xOfs     = -680,
		rows     = 6,
		cols     = 2,
		page     = 3,
		nuibind  = "nUI_LEFTUNITBAR",
		binding  = "MULTIACTIONBAR4BUTTON",
		label    = nUI_L["nUI_LeftUnitBar"],
	},
		
	-- the Bliz "right 2" bar (aka "right" bar in the Bliz code)
	
	["nUI_RightUnitBar"] =
	{		
		btn_size = 48,
		gap      = 2,
		anchor   = "BOTTOMRIGHT",
		yOfs     = -250,
		xOfs     = 680,
		rows     = 6,
		cols     = 2,
		page     = 4,
		nuibind  = "nUI_RIGHTUNITBAR",
		binding  = "MULTIACTIONBAR3BUTTON",
		label    = nUI_L["nUI_RightUnitBar"],
	},

	-- bonus bar 1

	["nUI_BottomLeftBar"] =
	{		
		btn_size = 38,
		gap      = 2,
		anchor   = "BOTTOMLEFT",
		yOfs     = -223,
		xOfs     = -1270,
		rows     = 1,
		cols     = 12,
		page     = 2,
		nuibind  = "nUI_BOTTOMLEFTBAR",
		binding  = nil,
		label    = nUI_L["nUI_BottomLeftBar"],
	},
		
	-- bonus bar 2
	
	["nUI_BottomRightBar"] =
	{		
		btn_size = 38,
		gap      = 2,
		anchor   = "BOTTOMRIGHT",
		yOfs     = -223,
		xOfs     = 1270,
		rows     = 1,
		cols     = 12,
		base_id  = 108,
		nuibind  = "nUI_BOTTOMRIGHTBAR",
		binding  = nil,
		label    = nUI_L["nUI_BottomRightBar"],
	},	
};
d'oh teg, you beat me :P
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
08-12-09, 03:30 PM   #4
Tegarbah
A Wyrmkin Dreamwalker
 
Tegarbah's Avatar
Join Date: Jun 2008
Posts: 58
lol...I beat you by linking to one of your other posts
__________________



 
08-12-09, 03:37 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Originally Posted by Tegarbah View Post
lol...I beat you by linking to one of your other posts
So I saw .. thought it was quicker for me to just copy the file segment than track the post down
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
08-12-09, 03:40 PM   #6
Kilara
A Murloc Raider
Join Date: Aug 2009
Posts: 6
Originally Posted by Tegarbah View Post
The whole console (action bars included) are scaled to match your resolution. The action bars can be resized but it must be done through editing the lua code. See the following thread for instructions on how someone increased the size of the main action bar.

http://www.wowinterface.com/forums/s...ght=action+nui
Thanks for the quick reply, it worked perfectly. So, if I want to increase the size of my buff bar, do I need to do the same thing? By the way, I know nothing about editing .lua's.

Thanks again for your help!
 
08-12-09, 04:09 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Now the buff bar unfortunately isn't a part of the layout files for us to change. At least not in this version. Maybe Scott will add that functionality in version 6.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Plugin Support » Button Bar help


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