Move the search box, it overlaps the default UI in some cases
This commit is contained in:
parent
61a3abe1fb
commit
fbd7dbe816
|
@ -327,8 +327,8 @@ end
|
||||||
|
|
||||||
local editbox = CreateFrame('EditBox', nil, GVS)
|
local editbox = CreateFrame('EditBox', nil, GVS)
|
||||||
editbox:SetAutoFocus(false)
|
editbox:SetAutoFocus(false)
|
||||||
editbox:SetPoint("TOPLEFT", GVS, "BOTTOMLEFT", 0, -51)
|
editbox:SetPoint("BOTTOMLEFT", GVS, "TOPLEFT", 65, 3)
|
||||||
editbox:SetWidth(160)
|
editbox:SetWidth(240)
|
||||||
editbox:SetHeight(32)
|
editbox:SetHeight(32)
|
||||||
editbox:SetFontObject('GameFontHighlightSmall')
|
editbox:SetFontObject('GameFontHighlightSmall')
|
||||||
|
|
||||||
|
@ -375,7 +375,7 @@ editbox:SetScript("OnShow", function(self)
|
||||||
self:SetTextColor(0.75, 0.75, 0.75, 1)
|
self:SetTextColor(0.75, 0.75, 0.75, 1)
|
||||||
end)
|
end)
|
||||||
editbox:SetScript("OnEnter", function(self)
|
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("Enter an item name to search")
|
||||||
GameTooltip:AddLine(" ")
|
GameTooltip:AddLine(" ")
|
||||||
GameTooltip:AddDoubleLine("Type search:", "bop, boe, bou, boa, quest", nil,nil,nil, 255,255,255)
|
GameTooltip:AddDoubleLine("Type search:", "bop, boe, bou, boa, quest", nil,nil,nil, 255,255,255)
|
||||||
|
|
Loading…
Reference in New Issue