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 |
Facts
- Last updated
- Apr 29, 2014
- Reported
- Mar 21, 2009
- Status
- Accepted - Problem reproduced / Need acknowledged.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 15
- Reply
- #12
feverflows Nov 22, 2012 at 18:55 UTC - 0 likesTrying to modify my action bar fonts as well
button.macroName:SetFont("Fonts
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?
- Reply
- #11
Groar Aug 31, 2012 at 12:57 UTC - 1 likeHi, 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
- Reply
- #10
Nevcairiel Aug 28, 2012 at 07:54 UTC - 0 likesThe default font for hotkeys was just changed to use a more readable font. Fine-grained options are still a possibility for the future
- Reply
- #9
tordenflesk Aug 16, 2011 at 21:56 UTC - 0 likesAny update on this?
- Reply
- #8
Nevcairiel Oct 12, 2010 at 18:59 UTC - 0 likesCustom text positions are something i won't do. ButtonFacade should do that, if anyone.
- Reply
- #7
siemal Oct 12, 2010 at 16:56 UTC - 0 likesAny chances to also add an option to set custom text position offsets?
- Reply
- #6
Nevcairiel Jul 15, 2010 at 11:37 UTC - 0 likesThis has been put on the roadmap for 4.5.0
- Reply
- #5
Foxuno Apr 09, 2010 at 16:06 UTC - 0 likesI suppose adding the above lines to actionbutton.lua, depending on what you need colored, should do the trick.
- Reply
- #4
DanielKuhnle1989 Mar 05, 2010 at 18:40 UTC - 0 likes@NarusegawaNaru
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
- Reply
- #3
benregn Apr 22, 2009 at 23:35 UTC - 0 likesI would like to see that feature too! :)