Thread Tools Display Modes
09-05-09, 10:47 PM   #1
Cuffs71
A Murloc Raider
Join Date: Aug 2009
Posts: 5
Action bar buttons

Not 100% sure if this has been gone over but i have just got Nui+ a few days ago and it looks really cool the only problem I have with it is that the buttons on the bars are just to small for my old eyes even with my glasses on...so my question here is is there away yet or not to make the buttons bigger at all?
 
09-06-09, 04:18 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Rofl, I have the main action bar buttons enlarged myself. *Digs out code file*

Folder : AddOns\nUI\Layouts\Default

File : nUI_Layout_Default_Dashboard.lua

Segment of Code :

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"],
	},
__________________
 
09-06-09, 06:44 AM   #3
Cuffs71
A Murloc Raider
Join Date: Aug 2009
Posts: 5
ok ty that was great but now is there anyway to make the chat and map windows a little smaller to fit the bigger buttons in lol..
 
09-06-09, 07:14 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
now that I can't help you. I only changed the main action bar as that is my important bar the rest are not used as often
__________________
 
09-06-09, 07:39 AM   #5
Cuffs71
A Murloc Raider
Join Date: Aug 2009
Posts: 5
well i was able to change all the buttons so i could see them but the other boxes are in the way so i just need to find a happy middle for them all.
 
09-06-09, 08:43 AM   #6
Rossko
A Kobold Labourer
Join Date: Sep 2009
Posts: 1
did you try using the /nui movers command?
 
09-06-09, 08:57 AM   #7
Cuffs71
A Murloc Raider
Join Date: Aug 2009
Posts: 5
not yet but after i get out of this raid in 10 man Voa that is going crappy ty i will try that ty. (new boss bad)

Last edited by Cuffs71 : 09-06-09 at 09:00 AM.
 
09-06-09, 09:28 AM   #8
Cuffs71
A Murloc Raider
Join Date: Aug 2009
Posts: 5
ok so i just tryed that but that does not work for the chat and minimap black windows..but ty anyway
 
09-06-09, 12:42 PM   #9
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 325
The problem you are having is that when you enlarge the buttons you need to remove one or 2 of them to fit. If you look at my screen shot I to wanted bigger bars and could barely read the chat text there are 2 cures i found.


1st this will be for your button enlargement

Location is World of Warcraft\Interface\AddOns\nUI\Layouts\Default\nUI_Layout_Default_Dashboard.lua

-- default button bar configurations

nUI_DefaultConfig.ButtonBars =
{
["nUI_ActionBar"] =
{
btn_size = 70, --53.5,
gap = 2,
anchor = "BOTTOM",
xOfs = 0,
yOfs = 127, --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 = 65, --53.5,
gap = 2,
anchor = "TOPRIGHT",
yOfs = 125, --122,
xOfs = 0,
rows = 1,
cols = 10,
page = 6,
nuibind = "nUI_TOPLEFTBAR",
binding = "MULTIACTIONBAR1BUTTON",
label = nUI_L["nUI_TopLeftBar"],
},

-- the Bliz "bottom right" bar

["nUI_TopRightBar"] =
{
btn_size = 65, --53.5,
gap = 2,
anchor = "TOPLEFT",
yOfs = 125, --122,
xOfs = 0,
rows = 1,
cols = 10,
page = 5,
nuibind = "nUI_TOPRIGHTBAR",
binding = "MULTIACTIONBAR2BUTTON",
label = nUI_L["nUI_TopRightBar"],
},


then for the chat frame, to change the font goto
World of Warcraft\Interface\AddOns\nUI\Main\localization.lua as you scroll down you will see -- next to font's like so:

nUI_L = {};
nUI_Locale = GetLocale();

-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\ABF.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Accidental Presidency.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Adventure.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Bazooka.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Emblem.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Enigma__2.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Tw_Cen_MT_Bold.ttf";
-- nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\VeraSe.ttf";
-- nUI_L["font1"] = "Fonts\\ARIALN.TTF";

nUI_L["font2"] = "Fonts\\FRIZQT__.TTF";
nUI_L["font2"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Emblem.ttf";

just remove the -- from the font you want to use.

And to make the font size bigger, you do this part ingame.

Game Menu > Itnterface > Social > uncheck lock chat settings, then mouse over the chat frame untill the General Tab apears then right click and set the font to you favorite size, me i use 14.


Hope this helps im sure the 2 pros will explain it a little better. wish i could do the code bozes so he post wanst so long but still la noob to forums.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_090609_112319.jpg
Views:	771
Size:	324.7 KB
ID:	3318  
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » Action bar buttons

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