Flp1LUPh wrote:is their any way to edit the font sizing on this addon?
No default way to do this, but it's a common request by people.
Open the file
PlayerMeter_UI_DamageMeter.lua and go to line
749.
It should look like this:
- Code: Select all
PM_UI_LIST[FrameName]["bar"][i]["bar"]["text"] = {}
PM_UI_LIST[FrameName]["bar"][i]["bar"]["text"]["PlayerName"] = PM_UI_CreateFont(PM_UI_LIST[FrameName]["bar"][i]["bar"], "rexas"..i, {
["x"] = 0,
["y"] = 0,
["size"] = 14,
["anchor"] = "left",
["font"] = "Fonts\\FRIZQT__.TTF",
})
PM_UI_LIST[FrameName]["bar"][i]["background"]["text"] = {}
PM_UI_LIST[FrameName]["bar"][i]["background"]["text"]["DamageText"] = PM_UI_CreateFont(PM_UI_LIST[FrameName]["bar"][i]["bar"], "999999", {
["x"] = 0,
["y"] = 0,
["size"] = 14,
["anchor"] = "right",
["font"] = "Fonts\\FRIZQT__.TTF",
["parent"] = PM_UI_LIST[FrameName]["bar"][i]["background"]
})
"size" here is the font size. First one is for the text to the left (nickname) and the other one is for the numbers on the right.
As you can see by
default it's
14. Change that number to what you want and reload your interface:
/script ReloadUI();While we are playing around with this. If you want change the height of the bars you can do that a bit easier by typing this chat with the number you want:
/script PM_Settings["Settings"]["frames"]["DamageMeter"]["bars"]["height"] = 20;You to have reload the interface for this also:
/script ReloadUI();I hope that helps some of you guys out at least.