From 947a48140095644fdcf49f3ab6ad7dcb052ed8ab Mon Sep 17 00:00:00 2001 From: MapleWheels Date: Thu, 5 Mar 2026 19:43:04 -0500 Subject: [PATCH] Added spacer to settings labels. --- .../Services/_SettingsMenu/ModsGameplaySettingsMenu.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Barotrauma/BarotraumaClient/ClientSource/LuaCs/Services/_SettingsMenu/ModsGameplaySettingsMenu.cs b/Barotrauma/BarotraumaClient/ClientSource/LuaCs/Services/_SettingsMenu/ModsGameplaySettingsMenu.cs index d6e543508..b885d1873 100644 --- a/Barotrauma/BarotraumaClient/ClientSource/LuaCs/Services/_SettingsMenu/ModsGameplaySettingsMenu.cs +++ b/Barotrauma/BarotraumaClient/ClientSource/LuaCs/Services/_SettingsMenu/ModsGameplaySettingsMenu.cs @@ -258,13 +258,15 @@ internal sealed class ModsGameplaySettingsMenu : ModsSettingsMenuBase GUIFrame entryFrame = new GUIFrame(new RectTransform(new Vector2(1f, settingHeight), parent)); GUILayoutGroup entryLayoutGroup = new GUILayoutGroup(new RectTransform(Vector2.One, entryFrame.RectTransform), isHorizontal: true); - new GUITextBlock(new RectTransform(labelSize, entryLayoutGroup.RectTransform), + new GUIFrame(new RectTransform(new Vector2(0.05f, 1f), entryLayoutGroup.RectTransform), + color: Color.TransparentBlack); + + new GUITextBlock(new RectTransform(labelSize - new Vector2(0.05f, 0f), entryLayoutGroup.RectTransform), GetLocalizedString(setting.GetDisplayInfo().DisplayName, setting.GetDisplayInfo().DisplayName), textColor: Color.PeachPuff, font: GUIStyle.SmallFont, textAlignment: Alignment.Left) { - Padding = new Vector4(0.02f,0,0,0), CanBeFocused = false };