From 5ba5a13694731054e5ba611293d1c81a218441d1 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 20 Apr 2010 01:02:44 -0400 Subject: [PATCH] Anchored the filter_toggle to the right side of WidgetContainer, and filter_reset to the right side of WidgetContainer2. --- Frame.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 74b59d6..60bf4a5 100644 --- a/Frame.lua +++ b/Frame.lua @@ -1672,7 +1672,8 @@ MainPanel.xclose_button:SetScript("OnClick", -- Create MainPanel.filter_toggle, and set its scripts. ------------------------------------------------------------------------------- MainPanel.filter_toggle = GenericCreateButton(nil, MainPanel, 25, 74, "GameFontNormalSmall", "GameFontHighlightSmall", L["FILTER_OPEN"], "CENTER", L["FILTER_OPEN_DESC"], 1) -MainPanel.filter_toggle:SetPoint("TOPRIGHT", MainPanel, "TOPRIGHT", -8, -40) +-- MainPanel.filter_toggle:SetPoint("TOPRIGHT", MainPanel, "TOPRIGHT", -8, -40) +MainPanel.filter_toggle:SetPoint("TOPRIGHT", WidgetContainer, "TOPRIGHT", 0, 0) MainPanel.filter_toggle:SetScript("OnClick", function(self, button, down) @@ -1710,7 +1711,7 @@ MainPanel.filter_toggle:SetScript("OnClick", ------------------------------------------------------------------------------- MainPanel.filter_reset = GenericCreateButton(nil, MainPanel, 25, 74, "GameFontNormalSmall", "GameFontHighlightSmall", _G.RESET, "CENTER", L["RESET_DESC"], 1) -MainPanel.filter_reset:SetPoint("TOPRIGHT", MainPanel.filter_toggle, "BOTTOMRIGHT", 0, -2) +MainPanel.filter_reset:SetPoint("TOPRIGHT", WidgetContainer2, "TOPRIGHT", 0, 2) MainPanel.filter_reset:Hide() do -- 1.7.9.5