View Single Post
12-28-20, 04:40 PM   #1
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 321
Use atlas name in string?

Looking at the global strings I have figured out that you can use textures in strings like this:

Code:
"|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0:0:0:-1|t" .. "My label text"
This works for me, but how can I do this with Atlas names?
When I try to emulate global strings like this,

Code:
"{Atlas|NPE_RightClick:20}" .. "My label text"
I get:

Code:
{Atlas
PE_RightClick:20}My label text
I am using the string as the "name" attribute of an AceConfig-3.0 "execute" button.
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote