I have a button and the button is working but the background is colored green.
f.ArrowUpButton = CreateFrame('Button','$parentArrowUpButton',f, BackdropTemplateMixin and "BackdropTemplate")
f.ArrowUpButton:SetSize(16,12)
f.ArrowUpButton:SetBackdrop(nil)
f.ArrowUpButton:SetBackdropBorderColor(255, 255, 255)
f.ArrowUpButton:SetPoint('TOPRIGHT',-2,-2)
f.ArrowUpButton.ArrowUpTexture = f.ArrowUpButton:CreateTexture('$parentArrowUpTexture', 'BACKGROUND')
f.ArrowUpButton.ArrowUpTexture:SetSize(16,12)
f.ArrowUpButton.ArrowUpTexture:SetAllPoints()
f.ArrowUpButton.ArrowUpTexture:SetTexture('Interface\\AddOns\\MyAddonFolder\\Media\\Textures\\ArrowUp.tga',false)<br /><br />any help would be great thank you in advance.
0
I got it to work had to be power of 2
0
I have a button and the button is working but the background is colored green.
0
OK i figured this out it was all due to setting heights its completely working now.
0
Maybe i am wrong calling it a frame but i am looking for it to be a list of buttons that have a hierarchy like:
Button1 -- If clicked collapses all below
Button1Child1 -- If clicked collapses all below
Button1Child1Child1 -- Performs an Action
Button1Child1Child2 -- Performs an Action
Button1Child2 -- If clicked collapses all below
Button1Child2Child1 -- Performs an Action
Button1Child2Child1 -- Performs an Action
Thank you in advance for any help here.
0
Maybe i am wrong calling it a frame but i am looking for it to be a list of buttons that have a hierarchy like:
Button1 -- If clicked collapses all below
Button1Child1 -- If clicked collapses all below
Button1Child1Child1 -- Performs an Action
Button1Child1Child2 -- Performs an Action
Button1Child2 -- If clicked collapses all below
Button1Child2Child1 -- Performs an Action
Button1Child2Child1 -- Performs an Action
Thank you in advance for any help here.