101 - Ability to change font, font size, outline for buttons

What is the enhancement in mind? How should it look and feel?

What I'd like to ask is for some configuration options on fonts used for hotkey, macro and count text used on BT4's action bars.

Please provide any additional information below.

Currently I've been doing it manually by hacking actionbutton.lua with these 3 lines:

button.macroName:SetFont("Fonts\\ARIALN.ttf", 12, "OUTLINE")
button.hotkey:SetFont("Fonts\\ARIALN.ttf", 12, "OUTLINE")
button.count:SetFont("Fonts\\ARIALN.ttf", 12, "OUTLINE")

But I'd prefer if possible to be able to do it through the addon's configuration frame so I won't have to edit actionbutton.lua after an update.

User When Change
Nevcairiel Mar 26, 2009 at 10:04 UTC Changed status from New to Accepted
Foxuno Mar 21, 2009 at 09:40 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of feverflows feverflows Nov 22, 2012 at 18:55 UTC - 0 likes

    Trying to modify my action bar fonts as well

    ARIALN.ttf", 12, "OUTLINE") button.hotkey:SetFont("Fonts
    ARIALN.ttf", 12, "OUTLINE") button.count:SetFont("Fonts
    ARIALN.ttf", 12, "OUTLINE")

    this code throws errors on account of there no longer being an "actionbutton.lua"

    any updates?

  • Avatar of Groar Groar Aug 31, 2012 at 12:57 UTC - 1 like

    Hi, i would try to fix this on my own, but since there is no actionbutton.lua anymore, i dont know where or what to add to use my custom font.

    Im not asking for an implementation, but a short hint (for a non lua familiar) how to change the font from the hotkeys, counts and macronames. regards Groar

  • Avatar of Nevcairiel Nevcairiel Aug 28, 2012 at 07:54 UTC - 0 likes

    The default font for hotkeys was just changed to use a more readable font. Fine-grained options are still a possibility for the future

  • Avatar of tordenflesk tordenflesk Aug 16, 2011 at 21:56 UTC - 0 likes

    Any update on this?

  • Avatar of Nevcairiel Nevcairiel Oct 12, 2010 at 18:59 UTC - 0 likes

    Custom text positions are something i won't do. ButtonFacade should do that, if anyone.

  • Avatar of siemal siemal Oct 12, 2010 at 16:56 UTC - 0 likes

    Any chances to also add an option to set custom text position offsets?

  • Avatar of Nevcairiel Nevcairiel Jul 15, 2010 at 11:37 UTC - 0 likes

    This has been put on the roadmap for 4.5.0

  • Avatar of Foxuno Foxuno Apr 09, 2010 at 16:06 UTC - 0 likes

    I suppose adding the above lines to actionbutton.lua, depending on what you need colored, should do the trick.

  • Avatar of DanielKuhnle1989 DanielKuhnle1989 Mar 05, 2010 at 18:40 UTC - 0 likes


    I think it would be an improvement to also choose the color in the configuartion menu.

    With /script BT4Button1.hotkey:SetVertexColor(r,g,b,1) I changed the color of the first button, but I dont know how to change all hotkey colors, I'm trying it at the moment with a KgPanels script

    edit: it works with the kgpanel script, but not with onLoad

    Last edited Mar 05, 2010 by DanielKuhnle1989
  • Avatar of benregn benregn Apr 22, 2009 at 23:35 UTC - 0 likes

    I would like to see that feature too! :)


Last updated
Apr 29, 2014
Mar 21, 2009
Accepted - Problem reproduced / Need acknowledged.
Enhancement - A change which is intended to better the project in some way
Medium - Normal priority.

Reported by

Possible assignees