From adc61fa20b9ba389e34b00aa70ae2b45605fee37 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 25 Feb 2026 01:04:39 -0800 Subject: [PATCH 1/2] Change captions to align text center --- src/Elements/Caption.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Elements/Caption.lua b/src/Elements/Caption.lua index eedec77..e2b70da 100644 --- a/src/Elements/Caption.lua +++ b/src/Elements/Caption.lua @@ -48,6 +48,7 @@ return function(icon) layout.Name = "Layout" layout.Padding = UDim.new(0, 8) layout.SortOrder = Enum.SortOrder.LayoutOrder + layout.HorizontalAlignment = Enum.HorizontalAlignment.Center layout.Parent = box local UICorner = Instance.new("UICorner") @@ -313,4 +314,4 @@ return function(icon) end)) return caption -end \ No newline at end of file +end From 01da8c3f51fec0c0c0901f241d946a3e8c3e6b78 Mon Sep 17 00:00:00 2001 From: Ryan Luu Date: Wed, 25 Feb 2026 01:17:50 -0800 Subject: [PATCH 2/2] Remove left alignment By default, labels are center so this basically sets it as centered. --- src/Elements/Caption.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Elements/Caption.lua b/src/Elements/Caption.lua index e2b70da..6dd361a 100644 --- a/src/Elements/Caption.lua +++ b/src/Elements/Caption.lua @@ -36,7 +36,6 @@ return function(icon) header.TextSize = TEXT_SIZE header.TextTruncate = Enum.TextTruncate.None header.TextWrapped = false - header.TextXAlignment = Enum.TextXAlignment.Left header.AutomaticSize = Enum.AutomaticSize.X header.BackgroundTransparency = 1 header.LayoutOrder = 1