Label styling
This commit is contained in:
parent
15da0fedf2
commit
57e69568aa
1 changed files with 2 additions and 2 deletions
4
UI.lua
4
UI.lua
|
|
@ -518,7 +518,7 @@ function AltSystem:CreateMainFrame()
|
||||||
end
|
end
|
||||||
|
|
||||||
local announceContainer, announceDropdown = CreateDropdown(
|
local announceContainer, announceDropdown = CreateDropdown(
|
||||||
content, "AltSystemAnnounceDropdown", "Announce Roll", announceOptions,
|
content, "AltSystemAnnounceDropdown", "", announceOptions,
|
||||||
AltSystem.State.announceOptionIndex,
|
AltSystem.State.announceOptionIndex,
|
||||||
function(index)
|
function(index)
|
||||||
AltSystem.State.announceOptionIndex = index
|
AltSystem.State.announceOptionIndex = index
|
||||||
|
|
@ -534,7 +534,7 @@ function AltSystem:CreateMainFrame()
|
||||||
announceContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
|
announceContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
|
||||||
announceContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
|
announceContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
|
||||||
|
|
||||||
yPos = yPos - (LABEL_HEIGHT + LABEL_GAP + 28) - ITEM_GAP
|
yPos = yPos - ROW_HEIGHT - ITEM_GAP
|
||||||
|
|
||||||
-- Roll button
|
-- Roll button
|
||||||
local rollLabel = AltSystem.State.rollType == "attack" and "Roll Attack" or "Roll Defense"
|
local rollLabel = AltSystem.State.rollType == "attack" and "Roll Attack" or "Roll Defense"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue