Minor adjustments
This commit is contained in:
parent
ffc693a63c
commit
0680020808
1 changed files with 7 additions and 7 deletions
14
UI.lua
14
UI.lua
|
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
AltSystem = AltSystem or {}
|
AltSystem = AltSystem or {}
|
||||||
|
|
||||||
local WINDOW_WIDTH = 726
|
local WINDOW_WIDTH = 700
|
||||||
local WINDOW_HEIGHT = 500
|
local WINDOW_HEIGHT = 500
|
||||||
local CONTROLS_WIDTH = 363
|
local CONTROLS_WIDTH = 350
|
||||||
local LOG_WIDTH = 363
|
local LOG_WIDTH = 350
|
||||||
local PADDING = 12
|
local PADDING = 12
|
||||||
local ROW_HEIGHT = 26
|
local ROW_HEIGHT = 26
|
||||||
local SECTION_GAP = 10
|
local SECTION_GAP = 10
|
||||||
|
|
@ -46,7 +46,7 @@ local function CreateDropdown(parent, name, labelText, options, defaultIndex, on
|
||||||
|
|
||||||
local dropdown = CreateFrame("DropdownButton", name, container, "WowStyle1DropdownTemplate")
|
local dropdown = CreateFrame("DropdownButton", name, container, "WowStyle1DropdownTemplate")
|
||||||
if label then
|
if label then
|
||||||
dropdown:SetPoint("LEFT", label, "RIGHT", 8, 0)
|
dropdown:SetPoint("RIGHT", container, "RIGHT", 0, 0)
|
||||||
else
|
else
|
||||||
dropdown:SetPoint("LEFT", container, "LEFT", 0, 0)
|
dropdown:SetPoint("LEFT", container, "LEFT", 0, 0)
|
||||||
end
|
end
|
||||||
|
|
@ -111,7 +111,7 @@ end
|
||||||
|
|
||||||
-- Helper: Create a sub-label (smaller golden text)
|
-- Helper: Create a sub-label (smaller golden text)
|
||||||
local function CreateSubLabel(parent, text, x, y)
|
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:SetPoint("TOPLEFT", parent, "TOPLEFT", x, y)
|
||||||
label:SetText(text)
|
label:SetText(text)
|
||||||
label:SetTextColor(0.9, 0.75, 0.2)
|
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
|
AltSystem.State.selectedSkillName = AltSystem.Data.Skills[index] and AltSystem.Data.Skills[index].name or nil
|
||||||
UpdateSkillWarning(index)
|
UpdateSkillWarning(index)
|
||||||
end,
|
end,
|
||||||
"GameFontNormalSmall"
|
"GameFontNormal"
|
||||||
)
|
)
|
||||||
skillContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
|
skillContainer:SetPoint("TOPLEFT", content, "TOPLEFT", PADDING, yPos)
|
||||||
skillContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
|
skillContainer:SetWidth(CONTROLS_WIDTH - PADDING * 2)
|
||||||
|
|
@ -410,7 +410,7 @@ function AltSystem:CreateMainFrame()
|
||||||
AltSystem.State.announceChannelIndex = 1
|
AltSystem.State.announceChannelIndex = 1
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
"GameFontNormalSmall")
|
"GameFontNormal")
|
||||||
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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue