View Single Post
11-30-09, 04:08 AM   #107
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by Lordyfrb View Post
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 }

Last edited by Katae : 11-30-09 at 04:28 AM. Reason: \\
  Reply With Quote