Minor adjustments

This commit is contained in:
Gonçalo Correia 2026-05-12 16:31:54 +01:00
parent ffc693a63c
commit 0680020808

14
UI.lua
View file

@ -5,10 +5,10 @@
AltSystem = AltSystem or {}
local WINDOW_WIDTH = 726
local WINDOW_WIDTH = 700
local WINDOW_HEIGHT = 500
local CONTROLS_WIDTH = 363
local LOG_WIDTH = 363
local CONTROLS_WIDTH = 350
local LOG_WIDTH = 350
local PADDING = 12
local ROW_HEIGHT = 26
local SECTION_GAP = 10
@ -46,7 +46,7 @@ local function CreateDropdown(parent, name, labelText, options, defaultIndex, on
local dropdown = CreateFrame("DropdownButton", name, container, "WowStyle1DropdownTemplate")
if label then
dropdown:SetPoint("LEFT", label, "RIGHT", 8, 0)
dropdown:SetPoint("RIGHT", container, "RIGHT", 0, 0)
else
dropdown:SetPoint("LEFT", container, "LEFT", 0, 0)
end
@ -111,7 +111,7 @@ end
-- Helper: Create a sub-label (smaller golden text)
local function CreateSubLabel(parent, text, x, y)
local label = parent:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall")
local label = parent:CreateFontString(nil, "OVERLAY", "GameFontNormal")
label:SetPoint("TOPLEFT", parent, "TOPLEFT", x, y)
label:SetText(text)
label:SetTextColor(0.9, 0.75, 0.2)
@ -268,7 +268,7 @@ function AltSystem:CreateMainFrame()
AltSystem.State.selectedSkillName = AltSystem.Data.Skills[index] and AltSystem.Data.Skills[index].name or nil
UpdateSkillWarning(index)
end,
"GameFontNormalSmall"
"GameFontNormal"
)
skillContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
skillContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
@ -410,7 +410,7 @@ function AltSystem:CreateMainFrame()
AltSystem.State.announceChannelIndex = 1
end
end,
"GameFontNormalSmall")
"GameFontNormal")
announceContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
announceContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)