Label styling

This commit is contained in:
Gonçalo Correia 2026-05-15 14:32:55 +01:00
parent 15da0fedf2
commit 57e69568aa

4
UI.lua
View file

@ -518,7 +518,7 @@ function AltSystem:CreateMainFrame()
end
local announceContainer, announceDropdown = CreateDropdown(
content, "AltSystemAnnounceDropdown", "Announce Roll", announceOptions,
content, "AltSystemAnnounceDropdown", "", announceOptions,
AltSystem.State.announceOptionIndex,
function(index)
AltSystem.State.announceOptionIndex = index
@ -534,7 +534,7 @@ function AltSystem:CreateMainFrame()
announceContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
announceContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
yPos = yPos - (LABEL_HEIGHT + LABEL_GAP + 28) - ITEM_GAP
yPos = yPos - ROW_HEIGHT - ITEM_GAP
-- Roll button
local rollLabel = AltSystem.State.rollType == "attack" and "Roll Attack" or "Roll Defense"