m
→World of Warcraft Scripting Quirks: Added note to look in Logs directory.
mNo edit summary |
m (→World of Warcraft Scripting Quirks: Added note to look in Logs directory.) |
||
| Line 16: | Line 16: | ||
** All [[Frames]] have a GetID() function which will obtain the ID specified in the XML. | ** All [[Frames]] have a GetID() function which will obtain the ID specified in the XML. | ||
** If you don't specify parent="UIParent" in your top-level frames, your frames won't be scaled according to the currently active UI scale. This can lead to some hair-pulling as you try to figure out why your fonts are so huge. (But, in some cases, not having that scaling might be desirable.) | ** If you don't specify parent="UIParent" in your top-level frames, your frames won't be scaled according to the currently active UI scale. This can lead to some hair-pulling as you try to figure out why your fonts are so huge. (But, in some cases, not having that scaling might be desirable.) | ||
** If you get no error output, but your addon is simply not being loaded, make sure you don't have a syntax error in your .xml file. A simple way to ensure that your xml is well-formed is to open it in Firefox; it will point out any XML structure errors to you. | ** If you get no error output, but your addon is simply not being loaded, make sure you don't have a syntax error in your .xml file. A simple way to ensure that your xml is well-formed is to open it in Firefox; it will point out any XML structure errors to you. You can also check the contents of your Logs directory for errors. | ||
* [[Output]] | * [[Output]] | ||