diff --git a/addons/ui_config/layouts.lua b/addons/ui_config/layouts.lua index 0c41b95..5e02769 100644 --- a/addons/ui_config/layouts.lua +++ b/addons/ui_config/layouts.lua @@ -60,18 +60,19 @@ local function center_stage_core() settings = { Visibility = Enum.EditModeSwingTimerVisibility.Hidden } }, -- Bottom center: three full bars, with the stance bar above them. - { system = "ActionBar", index = "MainBar", point = "BOTTOM", x = 0, y = 12, + { system = "ActionBar", index = "MainBar", point = "BOTTOM", x = 0, y = 26, settings = bar_settings({ NumRows = 1, NumIcons = 12, HideBarArt = true, HideBarScrolling = true }) }, - { system = "ActionBar", index = "Bar2", point = "BOTTOM", x = 0, y = 56, + { system = "ActionBar", index = "Bar2", point = "BOTTOM", x = 0, y = 70, settings = bar_settings({ NumRows = 1, NumIcons = 12 }) }, - { system = "ActionBar", index = "Bar3", point = "BOTTOM", x = 0, y = 100, + { system = "ActionBar", index = "Bar3", point = "BOTTOM", x = 0, y = 114, settings = bar_settings({ NumRows = 1, NumIcons = 12 }) }, - { system = "ActionBar", index = "StanceBar", point = "BOTTOM", x = 0, y = 144 }, + { system = "ActionBar", index = "StanceBar", point = "BOTTOM", x = 0, y = 158 }, - -- 3×4 blocks tucked against either side of the main bars. - { system = "ActionBar", index = "RightBar1", point = "BOTTOM", x = 342, y = 12, + -- 3×4 blocks either side of the main bars. Their outer edges (±413) line up + -- with the ends of the XP bar below. + { system = "ActionBar", index = "RightBar1", point = "BOTTOM", x = 348, y = 26, settings = bar_settings({ Orientation = Enum.ActionBarOrientation.Horizontal, NumRows = 4, NumIcons = 12 }) }, - { system = "ActionBar", index = "RightBar2", point = "BOTTOM", x = -342, y = 12, + { system = "ActionBar", index = "RightBar2", point = "BOTTOM", x = -348, y = 26, settings = bar_settings({ Orientation = Enum.ActionBarOrientation.Horizontal, NumRows = 4, NumIcons = 12 }) }, -- The gryphon end caps are anchored to the main bar and the bags bar, which @@ -81,21 +82,25 @@ local function center_stage_core() { system = "ExtraAbilities", point = "BOTTOM", x = -560, y = 240 }, - -- Edges: chat and meter in the bottom corners, navigation along the top. + -- Edges: chat and meter in the bottom corners, map and menus along the top. -- Edit Mode stores the chat size split into digits: 480 × 200. The input box -- is about 30 units wider than the frame, which still clears the left block. { system = "ChatFrame", point = "BOTTOMLEFT", x = 12, y = 12, settings = { WidthHundreds = 4, WidthTensAndOnes = 80, HeightHundreds = 2, HeightTensAndOnes = 0 } }, - { system = "DamageMeter", point = "BOTTOMRIGHT", x = -12, y = 12 }, + -- Bags in the bottom-right corner, with the damage meter just above them. + { system = "Bags", point = "BOTTOMRIGHT", x = -12, y = 12 }, + { system = "DamageMeter", point = "BOTTOMRIGHT", x = -12, y = 70 }, { system = "Minimap", point = "TOPRIGHT", x = -12, y = -12 }, - { system = "ObjectiveTracker", point = "TOPRIGHT", x = -12, y = -220 }, - { system = "StatusTrackingBar", index = "StatusTrackingBar1", point = "TOP", x = 0, y = -4 }, - -- The XP bar spans most of the top edge, so the micro menu, bags, and auras - -- all sit on the row below it. - { system = "AuraFrame", index = "BuffFrame", point = "TOPRIGHT", x = -216, y = -26 }, - { system = "AuraFrame", index = "DebuffFrame", point = "TOPRIGHT", x = -216, y = -114 }, - { system = "MicroMenu", point = "TOPLEFT", x = 12, y = -26 }, - { system = "Bags", point = "TOPLEFT", x = 310, y = -26 }, + -- Starts below the minimap and the coordinates under it. + { system = "ObjectiveTracker", point = "TOPRIGHT", x = -12, y = -300 }, + -- XP bar along the bottom edge under the action bars. Its width is a + -- percentage of the default (~1180 units), so 70% is ~826 units: flush with + -- the outer edges of the side blocks. + { system = "StatusTrackingBar", index = "StatusTrackingBar1", point = "BOTTOM", x = 0, y = 4, + settings = { Size = 70 } }, + { system = "AuraFrame", index = "BuffFrame", point = "TOPRIGHT", x = -216, y = -12 }, + { system = "AuraFrame", index = "DebuffFrame", point = "TOPRIGHT", x = -216, y = -100 }, + { system = "MicroMenu", point = "TOPLEFT", x = 12, y = -12 }, } end