Hi there! I'm trying to understand why the following code won't create frames of different sizes:
Lua Code:
local x
x = CreateFrame("Button", "LSSettings" .. "StanceIcon0x", UIParent, "ActionButtonTemplate")
x:SetPoint("Topleft", 350, -200);
x:EnableMouse(false);
x:SetWidth(50);
x:SetHeight(50);
x:SetNormalTexture("Interface\\AddOns\\LunarSphere\\art\\mouse1")
x = CreateFrame("Button", "LSSettings" .. "StanceIcon0y", UIParent, "ActionButtonTemplate")
x:SetPoint("Topleft", 350, -300);
x:SetWidth(24);
x:SetHeight(24);
x:EnableMouse(false);
x:SetNormalTexture("Interface\\AddOns\\LunarSphere\\art\\mouse1")
x = CreateFrame("Button", "LSSettings" .. "StanceIcon0z", UIParent, "ActionButtonTemplate")
x:SetPoint("Topleft", 350, -400);
x:SetWidth(10);
x:SetHeight(10);
x:EnableMouse(false);
x:SetNormalTexture("Interface\\AddOns\\LunarSphere\\art\\mouse1")
Thanks!!!