Lua Code:
local f1 = CreateFrame("Button", nil, UIParent, "SecureActionButtonTemplate, UIPanelButtonTemplate")
f1:SetSize(80, 30)
f1:SetPoint("CENTER")
f1:SetText("Logout")
f1:SetAttribute("type", "macro")
f1:SetAttribute("macrotext", "/logout")
local f2 = CreateFrame("Button", nil, UIParent, "UIPanelButtonTemplate")
f2:SetSize(80, 30)
f2:SetPoint("TOP", f1, "BOTTOM")
f2:SetText("FStack")
f2:SetScript("OnClick", function(self)
if not FrameStackTooltip_Toggle then
LoadAddOn("Blizzard_DebugTools")
end
FrameStackTooltip_Toggle()
end)