turtle-wow: skin proffession buttons and edit box

This commit is contained in:
shagu
2024-11-02 12:49:47 +01:00
parent 69f28b0515
commit b54d172175
+14 -1
View File
@@ -134,9 +134,22 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
-- rearrange twow's profession window additions
HookAddonOrVariable("Blizzard_TradeSkillUI", function()
if TradeSkillSkillCheckButton and pfUI_config["disabled"]["skin_Profession"] ~= "1" then
SkinCheckbox(TradeSkillSkillCheckButton)
TradeSkillSkillCheckButton:SetWidth(24)
TradeSkillSkillCheckButton:SetHeight(24)
SkinCheckbox(TradeSkillMatsCheckButton)
TradeSkillMatsCheckButton:SetWidth(24)
TradeSkillMatsCheckButton:SetHeight(24)
TradeSkillSearchBox:DisableDrawLayer("BACKGROUND")
CreateBackdrop(TradeSkillSearchBox, nil, nil, 1)
TradeSkillSkillCheckButton:SetPoint("TOPLEFT", 500, -2)
TradeSkillMatsCheckButton:SetPoint("TOPLEFT", 400, -2)
TradeSkillSearchBox:SetPoint("TOPLEFT", 20, -520)
TradeSkillSearchBox:ClearAllPoints()
TradeSkillSearchBox:SetPoint("TOP", TradeSkillFrame, "BOTTOM", 0, -8)
end
end)