From e41c8369f7cffe085c0a4a75ffcf7bb2d8ec3ea0 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 30 Jun 2012 11:48:44 +0400 Subject: [PATCH] Changes the width range for 3 slot data panels. Less then 300 is cutting parts of info on my resolution --- ElvUI_SLE/modules/datatexts/options.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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, }, -- 1.7.9.5