From 49022dd035aa0c2512c54ca2413f8c7b3fb32e8b Mon Sep 17 00:00:00 2001 From: Paulius Dervinis Date: Wed, 19 Aug 2026 15:02:48 +0300 Subject: [PATCH] FIX: Inset the Supported Devices list in Input System settings so it aligns with the other fields [UUM-150207] The "Supported Devices" ReorderableList in the Input System Package Settings sat flush against the panel edge with no left/right margin, while the surrounding EditorGUILayout fields were inset. In InputSettingsProvider.OnGUI(string searchContext), the bare m_SupportedDevices.DoLayoutList() call is now wrapped in an EditorGUILayout.HorizontalScope with a 3px GUILayout.Space on each side and the list placed in a VerticalScope so it expands to the remaining width, giving the list the same horizontal inset as the neighbouring controls. Jira: https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-150207 --- Packages/com.unity.inputsystem/CHANGELOG.md | 1 + .../InputSystem/Editor/Settings/InputSettingsProvider.cs | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index 2be3277c94..10e1e71015 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed +- Fixed the "Supported Devices" list in the Input System Package Settings sitting flush against the panel edge with no left/right margin, unlike the surrounding fields; it is now inset to line up with the other settings controls [UUM-150207](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-150207) - Fixed the Inspector help button for a selected `.inputactions` asset ("Open Reference for Input Action Importer") opening a missing documentation page; it now links to the Action Assets manual page [UUM-149518](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-149518) - Fixed an `OverflowException` when creating a control scheme (or other named item) whose all-numeric name exceeds `Int32.MaxValue`, which previously discarded the entered name and fell back to the default [UUM-145766](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-145766) - Fixed the Input Actions editor window logging a "Failed to load asset" exception on editor startup when its saved window layout was restored in a project where the referenced asset GUID did not resolve; the window now closes quietly instead [UUM-144318](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-144318) diff --git a/Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs b/Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs index 575d73c9f5..2b75d96043 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs @@ -156,7 +156,13 @@ public override void OnGUI(string searchContext) + "and avoid picking up input from devices not relevant to the project. When you add devices here, any device that will not be classified " + "as supported will appear under 'Unsupported Devices' in the input debugger.", MessageType.None); - m_SupportedDevices.DoLayoutList(); + using (new EditorGUILayout.HorizontalScope()) + { + GUILayout.Space(3f); + using (new EditorGUILayout.VerticalScope()) + m_SupportedDevices.DoLayoutList(); + GUILayout.Space(3f); + } EditorGUILayout.LabelField("iOS", EditorStyles.boldLabel); EditorGUILayout.Space();