Quantcast
help me Increase status text size - WoWInterface
Thread Tools Display Modes
10-21-20, 07:03 AM   #1
djozaa
A Defias Bandit
Join Date: Sep 2016
Posts: 2
help me Increase status text size

hello, can someone help me to increase status text size of defualt blizzard frames on retail.

In classic wow status text font size seems to be 14, and on retail is 10.

This is with enabled status text Both.
Attached Thumbnails
Click image for larger version

Name:	sizes.png
Views:	50
Size:	142.2 KB
ID:	9507  
  Reply With Quote
10-22-20, 12:59 PM   #2
Vrul
An Onyxian Warder
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 368
Code:
local fontStrings = {
	'PlayerFrameHealthBarTextLeft',
	'PlayerFrameHealthBarTextRight',
	'PlayerFrameManaBarTextLeft',
	'PlayerFrameManaBarTextRight',
	'TargetFrameTextureFrameHealthBarTextLeft',
	'TargetFrameTextureFrameHealthBarTextRight',
	'TargetFrameTextureFrameManaBarTextLeft',
	'TargetFrameTextureFrameManaBarTextRight'
}

for index = 1, #fontStrings do
	local fontString = _G[fontStrings[index]]
	if fontString then
		local fontName, fontSize, fontStyle = fontString:GetFont()
		fontString:SetFont(fontName, 14, fontStyle)
	end
end
  Reply With Quote
10-22-20, 03:56 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,979
You can change the base font object and it'll propagate through all fontstrings that inherit from it.
Lua Code:
  1. local name,_,style=TextStatusBarText:GetFont();
  2. TextStatusBarText:SetFont(name,14,style);
Note: Font objects seem to ignore the virtual XML tag and actually exist in the global environment.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-22-20, 06:45 PM   #4
djozaa
A Defias Bandit
Join Date: Sep 2016
Posts: 2
thank you alot, both of you!!!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » help me Increase status text size

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