Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit f557160

Browse files
committed
Updated alignment to left
Signed-off-by: RyanLua <[email protected]>
1 parent 5727dbf commit f557160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Signs/StudioWidgets/LabeledButton.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ function LabeledButtonClass.new(nameSuffix: string, labelText: string, value: nu
4949
label.Font = GuiUtilities.kDefaultFontFace
5050
label.TextSize = GuiUtilities.kDefaultFontSize
5151
label.BackgroundTransparency = 1
52-
label.TextXAlignment = Enum.TextXAlignment.Center
52+
label.TextXAlignment = Enum.TextXAlignment.Left
5353
label.AnchorPoint = Vector2.new(0.5, 0.5)
5454
label.AutoButtonColor = false
55-
label.Position = UDim2.new(0.5, 0, 0.5, GuiUtilities.kTextVerticalFudge)
55+
label.Position = UDim2.new(0.5, GuiUtilities.DefaultLineLabelLeftMargin, 0.5, GuiUtilities.kTextVerticalFudge)
5656
label.Size = UDim2.new(1, 0, 1, 0)
5757
label.Parent = fullBackgroundButton
5858

0 commit comments

Comments
 (0)