Quantcast

Moved the frame editor config around to "fit" things better.. lol

James Whitehead II [02-05-08 - 21:25]
Moved the frame editor config around to "fit" things better.. lol
Filename
PerfectRaid_Frames.lua
diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua
index 7654dee..5777e8a 100644
--- a/PerfectRaid_Frames.lua
+++ b/PerfectRaid_Frames.lua
@@ -269,7 +269,7 @@ function Frames:CreateEditFrame(parent)
 		if idx == 1 then
 			button:SetPoint("TOPLEFT", title, "BOTTOMLEFT", 0, -15)
 		elseif math.fmod(idx - 1, 6) == 0 then
-			button:SetPoint("TOPLEFT", self.filters[idx-6], "BOTTOMLEFT", 0, -5)
+			button:SetPoint("TOPLEFT", self.filters[idx-6], "BOTTOMLEFT", 0, 0)
 		else
 			button:SetPoint("LEFT", self.filters[idx-1], "RIGHT", 60, 0)
 		end
@@ -279,7 +279,7 @@ function Frames:CreateEditFrame(parent)
 	local font = numCols:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
 	font:SetText(L["Number of Columns:"])
 	font:SetPoint("RIGHT", numCols, "LEFT", -10, 0)
-	numCols:SetPoint("BOTTOMRIGHT", -5, 140)
+	numCols:SetPoint("BOTTOMRIGHT", -5, 180)
 	numCols:SetAutoFocus(nil)
 	numCols:SetWidth(50)
 	numCols:SetHeight(20)
@@ -327,7 +327,7 @@ function Frames:CreateEditFrame(parent)

 	local hbackdrop = CreateFrame("CheckButton", "PRFrame_HeaderBackdrop", PROptions_Frames_Edit, "PRCheckTemplate")
 	hbackdrop.Label:SetText(L["Display a header backdrop"])
-	hbackdrop:SetPoint("BOTTOMLEFT", 0, 175)
+	hbackdrop:SetPoint("BOTTOMLEFT", 0, 160)
 	hbackdrop:Show()

 	local strict = CreateFrame("CheckButton", "PRFrame_Strict", PROptions_Frames_Edit, "PRCheckTemplate")
@@ -414,7 +414,7 @@ function Frames:CreateEditFrame(parent)
 	slider:SetWidth(125)
 	slider:SetMinMaxValues(0.1,2.0)
 	slider:SetValueStep(0.05)
-	slider:SetPoint("BOTTOMLEFT", 10, 15)
+	slider:SetPoint("TOP", PRFrames_ColAnchorDropDown, "BOTTOM", 20, -10)
 	slider:SetValue(1.0)
 	slider:Show()

@@ -425,13 +425,13 @@ function Frames:CreateEditFrame(parent)
 	slider:SetWidth(125)
 	slider:SetMinMaxValues(0,10)
 	slider:SetValueStep(1)
-	slider:SetPoint("LEFT", PRFrame_Scale, "RIGHT", 50, 0)
+	slider:SetPoint("TOP", PRFrame_Scale, "BOTTOM", 0, -20)
 	slider:SetValue(2.0)
 	slider:Show()

 	local cancel = CreateFrame("Button", "PRFrames_Cancel", PROptions_Frames_Edit, "PRButtonTemplate")
 	cancel:SetText(L["Cancel"])
-	cancel:SetPoint("BOTTOMRIGHT", 0, 5)
+	cancel:SetPoint("BOTTOMLEFT", 100, 5)
 	cancel:SetScript("OnClick", function() self:CancelEntry() end)
 	cancel:Show()