diff --git a/ElvUI_SLE/modules/backgrounds.lua b/ElvUI_SLE/modules/backgrounds.lua
index f9c0af6..d05fdb5 100644
--- a/ElvUI_SLE/modules/backgrounds.lua
+++ b/ElvUI_SLE/modules/backgrounds.lua
@@ -43,8 +43,8 @@ end
local function FramesPositions()
if not BGb then return end
BGb:Point("BOTTOM", E.UIParent, "BOTTOM", 0, 21);
- BGl:Point("BOTTOMRIGHT", E.UIParent, "BOTTOM", -(E.screenwidth/4 + 32)/2 - 1, 21);
- BGr:Point("BOTTOMLEFT", E.UIParent, "BOTTOM", (E.screenwidth/4 + 32)/2 + 1, 21);
+ BGl:Point("BOTTOMRIGHT", E.UIParent, "BOTTOM", -((E.eyefinity or E.screenwidth)/4 + 32)/2 - 1, 21);
+ BGr:Point("BOTTOMLEFT", E.UIParent, "BOTTOM", ((E.eyefinity or E.screenwidth)/4 + 32)/2 + 1, 21);
BGa:Point("BOTTOM", E.UIParent, "BOTTOM", 0, E.screenheight/6 + 9);
end
diff --git a/ElvUI_SLE/modules/datatexts.lua b/ElvUI_SLE/modules/datatexts.lua
index 0b4e17e..bde3e60 100644
--- a/ElvUI_SLE/modules/datatexts.lua
+++ b/ElvUI_SLE/modules/datatexts.lua
@@ -19,11 +19,11 @@ local lchat = CreateFrame('Frame', "Left_Chat_SLE", E.UIParent)
local panels = {
--Panel = short, name, point, x, panel, slot
DP_1 = {"dp1", "DP_1", "TOPLEFT", 0, DP_1, 3},
- DP_2 = {"dp2", "DP_2", "TOP", -(E.screenwidth/5), DP_2, 3},
- DP_3 = {"dp3", "DP_3", "TOP", (E.screenwidth/5), DP_3, 3},
+ DP_2 = {"dp2", "DP_2", "TOP", -((E.eyefinity or E.screenwidth)/5), DP_2, 3},
+ DP_3 = {"dp3", "DP_3", "TOP", ((E.eyefinity or E.screenwidth)/5), DP_3, 3},
DP_4 = {"dp4", "DP_4", "TOPRIGHT", 0, DP_4, 3},
- DP_5 = {"dp5", "DP_5", "BOTTOM", -(E.screenwidth/6 - 15), DP_5, 3},
- DP_6 = {"dp6", "DP_6", "BOTTOM", (E.screenwidth/6 - 15), DP_6, 3},
+ DP_5 = {"dp5", "DP_5", "BOTTOM", -((E.eyefinity or E.screenwidth)/6 - 15), DP_5, 3},
+ DP_6 = {"dp6", "DP_6", "BOTTOM", ((E.eyefinity or E.screenwidth)/6 - 15), DP_6, 3},
Top_Center = {"top", "Top_Center", "TOP", 0, Top_Center, 1},
Bottom_Panel = {"bottom", "Bottom_Panel", "BOTTOM", 0, Bottom_Panel, 1},
}
diff --git a/ElvUI_SLE/options/datatexts_c.lua b/ElvUI_SLE/options/datatexts_c.lua
index bb6a98c..f538c6e 100644
--- a/ElvUI_SLE/options/datatexts_c.lua
+++ b/ElvUI_SLE/options/datatexts_c.lua
@@ -106,7 +106,7 @@ local function configTable()
name = L['Width'],
desc = L["Sets size of this panel"],
disabled = function() return not E.db.sle.datatext[v[1]].enabled end,
- min = 100 * v[3], max = E.screenwidth/2, step = 1,
+ min = 100 * v[3], max = (E.eyefinity or E.screenwidth)/2, step = 1,
set = function(info, value) E.db.sle.datatext[v[1]].width = value; DTP:Update() end,
},
hide = {
@@ -174,7 +174,7 @@ local function configTable()
name = L['Width'],
desc = L["Sets size of this panel"],
disabled = function() return not E.db.datatexts[v[3]] end,
- min = 150, max = E.screenwidth/2, step = 1,
+ min = 150, max = (E.eyefinity or E.screenwidth)/2, step = 1,
get = function(info) return E.db.sle.datatext[v[1]].width end,
set = function(info, value) E.db.sle.datatext[v[1]].width = value; DTP:ChatResize() end,
},
diff --git a/ElvUI_SLE/options/media_c.lua b/ElvUI_SLE/options/media_c.lua
index da35ea0..0efe4c4 100644
--- a/ElvUI_SLE/options/media_c.lua
+++ b/ElvUI_SLE/options/media_c.lua
@@ -74,7 +74,7 @@ local function configTable()
order = 4,
name = L["Width"],
type = "range",
- min = 512, max = E.screenwidth, step = 1,
+ min = 512, max = E.eyefinity or E.screenwidth, step = 1,
set = function(info, value) E.db.sle.media.fonts.zone.width = value; M:TextWidth() end,
},
},
@@ -117,7 +117,7 @@ local function configTable()
order = 4,
name = L["Width"],
type = "range",
- min = 512, max = E.screenwidth, step = 1,
+ min = 512, max = E.eyefinity or E.screenwidth, step = 1,
set = function(info, value) E.db.sle.media.fonts.subzone.width = value; M:TextWidth() end,
},
offset = {
@@ -166,7 +166,7 @@ local function configTable()
order = 4,
name = L["Width"],
type = "range",
- min = 512, max = E.screenwidth, step = 1,
+ min = 512, max = E.eyefinity or E.screenwidth, step = 1,
set = function(info, value) E.db.sle.media.fonts.pvp.width = value; M:TextWidth() end,
},
},
@@ -565,7 +565,7 @@ local function configTable()
order = 5,
name = L["Width"],
type = "range",
- min = 200, max = E.screenwidth/2, step = 0.01,
+ min = 200, max = (E.eyefinity or E.screenwidth)/2, step = 0.01,
get = function(info) return E.db.sle.media.screensaver.playermodel.width end,
set = function(info, value) E.db.sle.media.screensaver.playermodel.width = value end,
},