Quantcast

Changes the width range for 3 slot data panels.

Darthpred [06-30-12 - 07:48]
Changes the width range for 3 slot data panels.
Less then 300 is cutting parts of info on my resolution
Filename
ElvUI_SLE/modules/datatexts/options.lua
diff --git a/ElvUI_SLE/modules/datatexts/options.lua b/ElvUI_SLE/modules/datatexts/options.lua
index 9e69cbb..654dc8b 100644
--- a/ElvUI_SLE/modules/datatexts/options.lua
+++ b/ElvUI_SLE/modules/datatexts/options.lua
@@ -37,7 +37,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp1.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp1.width end,
 					set = function(info, value) E.db.dpe.datatext.dp1.width = value; DTP:Resize() end,
 				},
@@ -63,7 +63,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp2.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp2.width end,
 					set = function(info, value) E.db.dpe.datatext.dp2.width = value; DTP:Resize() end,
 				},
@@ -115,7 +115,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp3.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp3.width end,
 					set = function(info, value) E.db.dpe.datatext.dp3.width = value; DTP:Resize() end,
 				},
@@ -141,7 +141,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp4.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp4.width end,
 					set = function(info, value) E.db.dpe.datatext.dp4.width = value; DTP:Resize() end,
 				},
@@ -167,7 +167,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp5.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp5.width end,
 					set = function(info, value) E.db.dpe.datatext.dp5.width = value; DTP:Resize() end,
 				},
@@ -219,7 +219,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.dp6.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.dp6.width end,
 					set = function(info, value) E.db.dpe.datatext.dp6.width = value; DTP:Resize() end,
 				},
@@ -246,7 +246,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.chatleft.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.chatleft.width end,
 					set = function(info, value) E.db.dpe.datatext.chatleft.width = value; DTP:ChatResize() end,
 				},
@@ -273,7 +273,7 @@ E.Options.args.dpe.args.datatext = {
 					name = L['Width'],
 					desc = L["Sets size of this panel"],
 					disabled = function() return not E.db.dpe.datatext.chatright.enabled end,
-					min = 100, max = E.screenwidth/2, step = 1,
+					min = 300, max = E.screenwidth/2, step = 1,
 					get = function(info) return E.db.dpe.datatext.chatright.width end,
 					set = function(info, value) E.db.dpe.datatext.chatright.width = value; DTP:ChatResize() end,
 				},