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)
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue