Crafting

Crafting

458 Downloads

Possible to allow the evaluate button to be moveable?

doperyde opened this issue ยท 1 comments

commented

local evaluateButton = CreateFrame("Button", nil, UIParent,

Would you consider making/allowing the 'evaluate' button to be moveable? or possibly anchor it to the crafting window/frame? Instead of having it statically anchored it to the bottom right corner area of the screen as it appears to be defined? Or suggest how I could make the modification myself?

local evaluateButton = CreateFrame("Button", nil, UIParent,

  "UIPanelButtonTemplate")

evaluateButton:SetSize(80, 22)

evaluateButton:SetTextToFit("Evaluate")

evaluateButton:SetPoint("BOTTOMRIGHT", -10, 100)

evaluateButton:SetScript("OnClick", function()

Thank you in advance!

commented

Or suggest how I could make the modification myself?

With the line evaluateButton:SetPoint("BOTTOMRIGHT", -10, 100) the position can be changed.