From fbd7dbe81606f462036c268b7a8c37835af98ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=82?= Date: Sun, 20 Nov 2011 16:55:39 -0700 Subject: [PATCH] Move the search box, it overlaps the default UI in some cases --- GnomishVendorShrinker.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index 569eb7e..bce64ef 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -327,8 +327,8 @@ end local editbox = CreateFrame('EditBox', nil, GVS) editbox:SetAutoFocus(false) -editbox:SetPoint("TOPLEFT", GVS, "BOTTOMLEFT", 0, -51) -editbox:SetWidth(160) +editbox:SetPoint("BOTTOMLEFT", GVS, "TOPLEFT", 65, 3) +editbox:SetWidth(240) editbox:SetHeight(32) editbox:SetFontObject('GameFontHighlightSmall') @@ -375,7 +375,7 @@ editbox:SetScript("OnShow", function(self) self:SetTextColor(0.75, 0.75, 0.75, 1) end) editbox:SetScript("OnEnter", function(self) - GameTooltip:SetOwner(self, "ANCHOR_RIGHT") + GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT") GameTooltip:AddLine("Enter an item name to search") GameTooltip:AddLine(" ") GameTooltip:AddDoubleLine("Type search:", "bop, boe, bou, boa, quest", nil,nil,nil, 255,255,255)