Originally Posted by Lordyfrb
Hi just wondering if its possible to set a standand text format for all texts applied to my layout?
i.e. So when I changed the standard text formatting all my texts change.
|
Easy, just create variables for your font at the beginning of your layout config, ie:
Code:
local text = {
font = "Interface\\AddOns\\Path\\to\\font.ttf",
size = 16,
color = "1 1 1",
-- etc
}
-- and for your text configs:
text = { font = text.font, size = text.size, color = text.color }