Quantcast

Under the Display Options panel - moved the "Font Size" checkbox under the Tooltip section.

James D. Callahan III [07-07-10 - 05:10]
Under the Display Options panel - moved the "Font Size" checkbox under the Tooltip section.
Filename
Config.lua
Locales/devel-enUS.lua
diff --git a/Config.lua b/Config.lua
index 86839de..39ea2f0 100644
--- a/Config.lua
+++ b/Config.lua
@@ -571,7 +571,7 @@ local function giveDisplay()
 		displayoptions = {
 			order = 1,
 			type = "group",
-			name = L["Display Options"],
+			name = _G.DISPLAY_OPTIONS,
 			desc = L["DISPLAY_OPTIONS_DESC"],
 			args = {
 				display_desc =	{
@@ -603,18 +603,6 @@ local function giveDisplay()
 							  addon.Frame:SetScale(v)
 						  end,
 				},
-				fontsize = {
-					order	= 4,
-					type	= "range",
-					name	= _G.FONT_SIZE,
-					desc	= L["FONT_SIZE_DESC"],
-					min		= 6,
-					max		= 20,
-					step	= 1,
-					bigStep = 1,
-					get	= function() return addon.db.profile.frameopts.fontsize end,
-					set	= function(info, v) addon.db.profile.frameopts.fontsize = v end,
-				},
 				closegui = {
 					width	= "full",
 					order	= 5,
@@ -656,6 +644,18 @@ local function giveDisplay()
 					type	= "description",
 					name	= L["TOOLTIP_OPTIONS_DESC"] .. "\n",
 				},
+				fontsize = {
+					order	= 19,
+					type	= "range",
+					name	= _G.FONT_SIZE,
+					desc	= L["FONT_SIZE_DESC"],
+					min	= 6,
+					max	= 20,
+					step	= 1,
+					bigStep = 1,
+					get	= function() return addon.db.profile.frameopts.fontsize end,
+					set	= function(info, v) addon.db.profile.frameopts.fontsize = v end,
+				},
 				tooltipscale = {
 					order	= 20,
 					type	= "range",
@@ -776,7 +776,7 @@ function addon:SetupOptions()
 	-- Register the module options
 	self:RegisterModuleOptions("Profiles", giveProfiles(), L["Profile Options"])
 	self:RegisterModuleOptions("Datamining", giveDatamine(), L["Datamine Options"])
-	self:RegisterModuleOptions("Display", giveDisplay(), L["Display Options"])
+	self:RegisterModuleOptions("Display", giveDisplay(), _G.DISPLAY_OPTIONS)
 	self:RegisterModuleOptions("Map", giveMap(), L["Map Options"])
 	self:RegisterModuleOptions("Documentation", giveDocs(), L["ARL Documentation"])

diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua
index 173939d..3cc5bf6 100644
--- a/Locales/devel-enUS.lua
+++ b/Locales/devel-enUS.lua
@@ -29,7 +29,6 @@ L["Profile"]			= true
 L["About"]			= true
 L["Main Options"]		= true
 L["General Options"]		= true
-L["Display Options"]		= true
 L["Main Filter Options"]	= true
 L["Sorting Options"]		= true
 L["Profile Options"]		= true