diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index c35bad5..8432416 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -339,7 +339,7 @@ function Buffs:CreateOptions(opt) local options = CreateFrame("Frame", "PROptions_Buffs", PROptions) opt:AddOptionsTab(L["Buffs/Debuffs"], options) - local num_entries = 15 + local num_entries = 19 local scrollframe = opt:CreateListFrame(options, num_entries) -- Set up double-click handlers @@ -358,7 +358,7 @@ function Buffs:CreateOptions(opt) local idx,button local offset = FauxScrollFrame_GetOffset(scrollframe) - FauxScrollFrame_Update(scrollframe, #list, 15, 20) + FauxScrollFrame_Update(scrollframe, #list, num_entries, 20) for i=1,num_entries do idx = offset + i local button = scrollframe.entries[i] diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua index 70e5489..5da1977 100644 --- a/PerfectRaid_Frames.lua +++ b/PerfectRaid_Frames.lua @@ -78,7 +78,7 @@ function Frames:CreateOptions(opt) local options = CreateFrame("Frame", "PROptions_Frames", PROptions) opt:AddOptionsTab(L["Raid Frames"], options) - local num_entries = 15 + local num_entries = 19 local scrollframe = opt:CreateListFrame(options, num_entries) -- Set up double-click handlers @@ -97,7 +97,7 @@ function Frames:CreateOptions(opt) local idx,button local offset = FauxScrollFrame_GetOffset(scrollframe) - FauxScrollFrame_Update(scrollframe, #list, 15, 20) + FauxScrollFrame_Update(scrollframe, #list, num_entries, 20) for i=1,num_entries do idx = offset + i button = scrollframe.entries[i] diff --git a/PerfectRaid_Options.lua b/PerfectRaid_Options.lua index aa72ca2..233cf75 100644 --- a/PerfectRaid_Options.lua +++ b/PerfectRaid_Options.lua @@ -69,8 +69,8 @@ end local tabs = {} function Options:CreateOptions() local frame = CreateFrame("Frame", "PROptions", UIParent, "PROptionsTemplate") - frame:SetHeight(375) - frame:SetWidth(600) + frame:SetHeight(450) + frame:SetWidth(650) frame:SetPoint("CENTER", 0, 50) PROptionsHeaderTitle:SetText(L["PerfectRaid Options"]) @@ -179,7 +179,8 @@ function Options:CreateListFrame(parent, num) local entry = CreateFrame("CheckButton", name, parent) entry:SetScript("OnClick", OnClick) entry:SetHeight(20) - entry:SetWidth(545) + entry:SetPoint("LEFT", 0, 0) + entry:SetPoint("RIGHT", -20, 0) entry:SetHighlightTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight") entry:SetCheckedTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight") entry:GetHighlightTexture():SetBlendMode("ADD")