Originally Posted by eponine
I'm wondering if anybody knows if I can change the keybinding font by going into the dominos LUA, and if so, which file?
|
In
bindableButton.lua, find this line, near the top:
Code:
function BindableButton:UpdateHotkey(buttonType)
After it, add a new line:
Code:
_G[self:GetName()..'HotKey']:SetFont("Fonts\\FRIZQT__.ttf", 18, "OUTLINE")
See the
SetFont documentation for info about the parameters.
In
actionButton.lua, find this line, near the bottom:
Code:
function ActionButton:UpdateMacro()
After it, add a new line:
Code:
_G[self:GetName() .. 'Name']:SetFont("Fonts\\FRIZQT__.ttf", 18, "OUTLINE")
In the same places, you could move the text around with
ClearAllPoints and
SetPoint.
You could also check which button the bar was on, to conditionally show/hide the text only for some bars, but that's more digging through the code of an addon I don't use than I want to do right now, so hopefully someone else can write it up for you, or you can try to figure it out yourself.