Skip to content

Commit 74aed6d

Browse files
committed
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
1 parent 60c692e commit 74aed6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/block_code/ui/blocks/utilities/parameter_input/parameter_input.tscn

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ custom_minimum_size = Vector2(40, 0)
8787
layout_mode = 2
8888
tooltip_text = "Parameter"
8989
theme_override_styles/normal = SubResource("StyleBoxEmpty_fjquj")
90+
fit_to_longest_item = false
9091

9192
[node name="Vector2Input" type="MarginContainer" parent="InputSwitcher"]
9293
unique_name_in_owner = true

0 commit comments

Comments
 (0)