From 74aed6dbd6943c5ffb55028a5bb564786a98b43e Mon Sep 17 00:00:00 2001 From: Dylan McCall Date: Thu, 12 Sep 2024 14:40:32 -0700 Subject: [PATCH] ParameterInput: Change option input to fit only the selected item It is possible for some options to be very long, causing a block to appear wider than necessary. https://phabricator.endlessm.com/T35564 --- .../ui/blocks/utilities/parameter_input/parameter_input.tscn | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.tscn b/addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.tscn index 7aac4ebb..5ed2066e 100644 --- a/addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.tscn +++ b/addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.tscn @@ -87,6 +87,7 @@ custom_minimum_size = Vector2(40, 0) layout_mode = 2 tooltip_text = "Parameter" theme_override_styles/normal = SubResource("StyleBoxEmpty_fjquj") +fit_to_longest_item = false [node name="Vector2Input" type="MarginContainer" parent="InputSwitcher"] unique_name_in_owner = true