diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua
index 9fe7ca3..3f359ef 100644
--- a/ElvUI_SLE/core/core.lua
+++ b/ElvUI_SLE/core/core.lua
@@ -232,8 +232,8 @@ end
function SLE:FixDatabase() --For when we dramatically change some options
if E.db.sle.chat.combathide == true then E.db.sle.chat.combathide = "BOTH" end
if E.db.sle.chat.combathide == false then E.db.sle.chat.combathide = "NONE" end
- if E.db.sle.uibuttons.position == "uib_vert" then E.db.sle.uibuttons.position = "vertical" end
- if E.db.sle.uibuttons.position == "uib_hor" then E.db.sle.uibuttons.position = "horizontal" end
+ if E.db.sle.uibuttons.position == "uib_vert" then E.db.sle.uibuttons.orientation = "vertical" end
+ if E.db.sle.uibuttons.position == "uib_hor" then E.db.sle.uibuttons.orientation = "horizontal" end
end
function SLE:Initialize()
diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua
index e661dd3..ceb6ec4 100644
--- a/ElvUI_SLE/defaults/profile.lua
+++ b/ElvUI_SLE/defaults/profile.lua
@@ -401,7 +401,7 @@ P['sle'] = {
['mouse'] = false,
['menuBackdrop'] = false,
['dropdownBackdrop'] = false,
- ['position'] = "vertical",
+ ['orientation'] = "vertical",
['spacing'] = 3,
['point'] = "TOPLEFT",
['anchor'] = "TOPRIGHT",
diff --git a/ElvUI_SLE/libs/LibElv-UIButtons-1.0/LibElv-UIButtons-1.0.lua b/ElvUI_SLE/libs/LibElv-UIButtons-1.0/LibElv-UIButtons-1.0.lua
index 824b27c..6813b2c 100644
--- a/ElvUI_SLE/libs/LibElv-UIButtons-1.0/LibElv-UIButtons-1.0.lua
+++ b/ElvUI_SLE/libs/LibElv-UIButtons-1.0/LibElv-UIButtons-1.0.lua
@@ -17,10 +17,10 @@ end
local function MoverSize(menu)
local db = menu.db
- if db.position == "vertical" then
+ if db.orientation == "vertical" then
menu:SetWidth(db.size + (E.PixelMode and 2 or 4))
menu:SetHeight((db.size*menu.NumBut)+((E.PixelMode and db.spacing or db.spacing+2)*(menu.NumBut-1))+2)
- elseif db.position == "horizontal" then
+ elseif db.orientation == "horizontal" then
menu:SetWidth((db.size*menu.NumBut)+((E.PixelMode and db.spacing or db.spacing+2)*(menu.NumBut-1))+2)
menu:SetHeight(db.size + (E.PixelMode and 2 or 4))
end
@@ -223,13 +223,13 @@ local function Positioning(menu)
--position check
local header = menu
- if db.position == "vertical" then
+ if db.orientation == "vertical" then
for i = 1, #menu.ToggleTable do
local button, prev = menu.ToggleTable[i], menu.ToggleTable[i-1]
menu.ToggleTable[i]:ClearAllPoints()
menu.ToggleTable[i]:Point("TOP", (prev or header), prev and "BOTTOM" or "TOP", 0, prev and (E.PixelMode and -db.spacing or -(db.spacing+2)) or (E.PixelMode and -1 or -2))
end
- elseif db.position == "horizontal" then
+ elseif db.orientation == "horizontal" then
for i = 1, #menu.ToggleTable do
local button, prev = menu.ToggleTable[i], menu.ToggleTable[i-1]
menu.ToggleTable[i]:ClearAllPoints()
diff --git a/ElvUI_SLE/options/uibuttons_c.lua b/ElvUI_SLE/options/uibuttons_c.lua
index 26246df..63792e6 100644
--- a/ElvUI_SLE/options/uibuttons_c.lua
+++ b/ElvUI_SLE/options/uibuttons_c.lua
@@ -100,7 +100,7 @@ local function configTable()
get = function(info) return E.db.sle.uibuttons.dropdownBackdrop end,
set = function(info, value) E.db.sle.uibuttons.dropdownBackdrop = value; Bar:FrameSize() end
},
- position = {
+ orientation = {
order = 11,
name = L["Buttons position"],
desc = L["Layout for UI buttons."],
@@ -110,8 +110,8 @@ local function configTable()
["vertical"] = L['Vertical'],
},
disabled = function() return not E.db.sle.uibuttons.enable end,
- get = function(info) return E.db.sle.uibuttons.position end,
- set = function(info, value) E.db.sle.uibuttons.position = value; Bar:FrameSize() end,
+ get = function(info) return E.db.sle.uibuttons.orientation end,
+ set = function(info, value) E.db.sle.uibuttons.orientation = value; Bar:FrameSize() end,
},
point = {
type = 'select',