From 053e28adb3289443a65706b0d2be5f04b075043d Mon Sep 17 00:00:00 2001 From: Anthony Narkevicius Date: Sun, 5 Feb 2023 20:51:35 -0800 Subject: [PATCH] fix overlap with search and new option (#31) this shifts the entire vendor window frame 10 pixels up, and squeezes in the search bar between the repair buttons and the GVS frame. --- .../Skins/Addons/gnomishVendorShrinker.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ElvUI_AddOnSkins/Skins/Addons/gnomishVendorShrinker.lua b/ElvUI_AddOnSkins/Skins/Addons/gnomishVendorShrinker.lua index 869ff63..968ec42 100644 --- a/ElvUI_AddOnSkins/Skins/Addons/gnomishVendorShrinker.lua +++ b/ElvUI_AddOnSkins/Skins/Addons/gnomishVendorShrinker.lua @@ -33,7 +33,7 @@ S:AddCallbackForAddon("GnomishVendorShrinker", "GnomishVendorShrinker", function if not GVS then return end GVS:Size(304, 294) - GVS:Point("TOPLEFT", 19, -54) + GVS:Point("TOPLEFT", 19, -44) GVS:SetTemplate("Transparent") MerchantBuyBackItem:ClearAllPoints() @@ -84,7 +84,7 @@ S:AddCallbackForAddon("GnomishVendorShrinker", "GnomishVendorShrinker", function end child:Height(18) - child:Point("TOPLEFT", GVS, "BOTTOMLEFT", 1, -61) + child:Point("TOPLEFT", GVS, "BOTTOMLEFT", 1, -3) S:HandleEditBox(child) elseif objType == "Slider" then for _, child2 in ipairs({child:GetChildren()}) do @@ -112,4 +112,8 @@ S:AddCallbackForAddon("GnomishVendorShrinker", "GnomishVendorShrinker", function S:HandleScrollBar(child) end end -end) \ No newline at end of file + MerchantBuyBackItem:ClearAllPoints() + MerchantBuyBackItem:Point("TOPLEFT", MerchantItem10, "BOTTOMLEFT", 0, -24) + MerchantBuyBackItemItemButton:ClearAllPoints() + MerchantBuyBackItemItemButton:Point("TOPLEFT", MerchantBuyBackItem, "TOPLEFT", 4, -4) +end)