From a96a3dbd876e5f7e42c5ee1d2bcbf2b606bd0fcc Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Fri, 30 Oct 2026 11:45:08 -0500 Subject: [PATCH] Show the About page's values inside the panel The values anchored to the content's TOPRIGHT, which now spans the whole panel since the panels moved to pfUIScrollFrameTemplate, so they sat 375px past its right edge and the scroll frame clipped them. Anchor them to the content's TOPLEFT, where the labels' offsets already measure from. --- modules/gui.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/gui.lua b/modules/gui.lua index 4b220953..fccf37fc 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -1324,14 +1324,14 @@ pfUI:RegisterModule("gui", function () this.version = this:CreateFontString("Status", "LOW", "GameFontWhite") this.version:SetFont(pfUI.font_default, C.global.font_size) - this.version:SetPoint("TOPRIGHT", 375, -170) + this.version:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -170) this.version:SetWidth(200) this.version:SetJustifyH("RIGHT") this.update = this:CreateFontString("Status", "LOW", "GameFontWhite") this.update:SetFont(pfUI.font_default, C.global.font_size) this.update:SetPoint("TOPLEFT", 200, -140) - this.update:SetPoint("TOPRIGHT", 375, -140) + this.update:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -140) this.update:SetJustifyH("CENTER") this.update:SetTextColor(.2,1,.8) @@ -1344,7 +1344,7 @@ pfUI:RegisterModule("gui", function () this.screen = this:CreateFontString("Status", "LOW", "GameFontWhite") this.screen:SetFont(pfUI.font_default, C.global.font_size) - this.screen:SetPoint("TOPRIGHT", 375, -200) + this.screen:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -200) this.screen:SetWidth(200) this.screen:SetJustifyH("RIGHT") @@ -1357,7 +1357,7 @@ pfUI:RegisterModule("gui", function () this.scale = this:CreateFontString("Status", "LOW", "GameFontWhite") this.scale:SetFont(pfUI.font_default, C.global.font_size) - this.scale:SetPoint("TOPRIGHT", 375, -220) + this.scale:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -220) this.scale:SetWidth(200) this.scale:SetJustifyH("RIGHT") @@ -1370,7 +1370,7 @@ pfUI:RegisterModule("gui", function () this.client = this:CreateFontString("Status", "LOW", "GameFontWhite") this.client:SetFont(pfUI.font_default, C.global.font_size) - this.client:SetPoint("TOPRIGHT", 375, -250) + this.client:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -250) this.client:SetWidth(200) this.client:SetJustifyH("RIGHT") @@ -1382,7 +1382,7 @@ pfUI:RegisterModule("gui", function () this.langc:SetText(T["Language"] .. ":") this.lang = this:CreateFontString("Status", "LOW", "GameFontWhite") this.lang:SetFont(pfUI.font_default, C.global.font_size) - this.lang:SetPoint("TOPRIGHT", 375, -270) + this.lang:SetPoint("TOPRIGHT", this, "TOPLEFT", 375, -270) this.lang:SetWidth(200) this.lang:SetJustifyH("RIGHT")