Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forgot about Cata BETA #2720

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions WoWPro/WoWPro_CurrentGuide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ do
elseif WoWPro.WRATH then
title:SetPoint("TOPLEFT", 16, -60)
title:SetPoint("RIGHT", frame, -16, -10)
elseif WoWPro.CATA then
title:SetPoint("TOPLEFT", 16, -65)
title:SetPoint("RIGHT", frame, -16, -20)
else
title:SetPoint("TOPLEFT", 16, 0)
title:SetPoint("RIGHT", frame, -18, -5)
Expand Down
9 changes: 9 additions & 0 deletions WoWPro/WoWPro_GuideList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ function WoWPro.CreateGuideList()
elseif WoWPro.WRATH then
frame:SetSize(650, 520)
frame:SetPoint("CENTER", _G.UIParent, "CENTER", 105, 10)
elseif WoWPro.CATA then
frame:SetSize(700, 550)
frame:SetPoint("CENTER", _G.UIParent, "CENTER", 105, 10)
else
frame:SetSize(625, 600)
frame:SetPoint("CENTER", _G.UIParent, "CENTER", 105, 10)
Expand All @@ -133,6 +136,8 @@ function WoWPro.CreateGuideList()
title:SetPoint("TOP", frame, "TOP", 0, -30)
elseif WoWPro.WRATH then
title:SetPoint("TOP", frame, "TOP", 0, -10)
elseif WoWPro.CATA then
title:SetPoint("TOP", frame, "TOP", 0, -20) -- Set the point for Cataclysm
else
title:SetPoint("TOP", frame, "TOP", 0, 50)
end
Expand All @@ -143,6 +148,8 @@ function WoWPro.CreateGuideList()
subtitle:SetPoint("TOP", title, "BOTTOM", 0, -30)
elseif WoWPro.WRATH then
subtitle:SetPoint("TOP", title, "BOTTOM", 0, -45)
elseif WoWPro.CATA then
subtitle:SetPoint("TOP", title, "BOTTOM", 0, -55) -- Set the point for Cataclysm
else
subtitle:SetPoint("TOP", title, "BOTTOM", 0, -60)
end
Expand All @@ -169,6 +176,8 @@ function WoWPro.CreateGuideList()
tab:SetPoint("BOTTOMLEFT", scrollBox.titleRow, "TOPLEFT", 13, -1)
elseif WoWPro.WRATH then
tab:SetPoint("BOTTOMLEFT", scrollBox.titleRow, "TOPLEFT", 13, 1)
elseif WoWPro.CATA then
tab:SetPoint("BOTTOMLEFT", scrollBox.titleRow, "TOPLEFT", 15, 2) -- Set the point for Cataclysm
else
tab:SetPoint("BOTTOMLEFT", scrollBox.titleRow, "TOPLEFT", 80, 20)
end
Expand Down