Anchoring Getting Confused ..
I have this block of code but the line pointed to insists that I am anchoring the button to itself but try as I might I can't see why as the idx is clearly different. Now a similar block of code that doesn't go on a second line works fine and I used that code as a base for this. The only difference between the buttons outside of their alignment is that the working block contains CheckButtons that aren't inherited from SecureActionButtonTemplate with checkbutton functionality for toggling whilst the one with problems are Buttons that are inherited from SecureActionButtonTemplate with a cooldown frame added, other than that they have the same base xml framework
The problem block that has 2 lines of buttons Lua Code:
This is the code I used as a basis for the one above .. this one does a straight line of x buttons and works completely fine Lua Code:
It's bound to be something really simple that is staring me in the face but I can't see it at all so any help is appreciated. |
Problem Cause and Solution ...
Well it seems that parentArray cannot be used on both the inherited frame and the frame inheriting it ..
Code:
<Button name = "XMP_IconTemplate" parentArray = "Buttons" virtual = "true"> Code:
<Button name = "XMP_SpellButtonTemplate" inherits = "XMP_IconTemplate,SecureActionButtonTemplate" virtual = "true"> |
All times are GMT -6. The time now is 01:31 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI