@@ -84,6 +84,74 @@ custom_minimum_size = Vector2(40, 0)
84
84
layout_mode = 2
85
85
theme_override_styles/normal = SubResource ("StyleBoxEmpty_fjquj" )
86
86
87
+ [node name ="Vector2Input" type ="MarginContainer" parent ="InputSwitcher" ]
88
+ unique_name_in_owner = true
89
+ visible = false
90
+ layout_mode = 2
91
+ theme_override_constants/margin_left = 8
92
+ theme_override_constants/margin_top = 4
93
+ theme_override_constants/margin_right = 8
94
+ theme_override_constants/margin_bottom = 4
95
+
96
+ [node name ="HBoxContainer" type ="HBoxContainer" parent ="InputSwitcher/Vector2Input" ]
97
+ layout_mode = 2
98
+
99
+ [node name ="Control" type ="Control" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
100
+ layout_mode = 2
101
+ size_flags_horizontal = 3
102
+
103
+ [node name ="XLineEdit" type ="LineEdit" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
104
+ unique_name_in_owner = true
105
+ layout_mode = 2
106
+ mouse_filter = 1
107
+ theme_override_colors/font_color = Color (0.118581 , 0.118581 , 0.118581 , 1 )
108
+ theme_override_colors/font_uneditable_color = Color (0.117647 , 0.117647 , 0.117647 , 1 )
109
+ theme_override_colors/font_placeholder_color = Color (0.76662 , 0.76662 , 0.76662 , 1 )
110
+ theme_override_constants/minimum_character_width = 0
111
+ theme_override_styles/normal = SubResource ("StyleBoxEmpty_6oowp" )
112
+ theme_override_styles/focus = SubResource ("StyleBoxEmpty_afyv2" )
113
+ theme_override_styles/read_only = SubResource ("StyleBoxEmpty_3r4mt" )
114
+ placeholder_text = "x"
115
+ alignment = 1
116
+ expand_to_text_length = true
117
+
118
+ [node name ="Control3" type ="Control" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
119
+ layout_mode = 2
120
+ size_flags_horizontal = 3
121
+
122
+ [node name ="CenterContainer" type ="MarginContainer" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
123
+ layout_mode = 2
124
+ size_flags_horizontal = 3
125
+
126
+ [node name ="ColorRect" type ="ColorRect" parent ="InputSwitcher/Vector2Input/HBoxContainer/CenterContainer" ]
127
+ custom_minimum_size = Vector2 (2 , 0 )
128
+ layout_mode = 2
129
+ size_flags_horizontal = 4
130
+ color = Color (0.804743 , 0.804743 , 0.804743 , 1 )
131
+
132
+ [node name ="Control4" type ="Control" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
133
+ layout_mode = 2
134
+ size_flags_horizontal = 3
135
+
136
+ [node name ="YLineEdit" type ="LineEdit" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
137
+ unique_name_in_owner = true
138
+ layout_mode = 2
139
+ mouse_filter = 1
140
+ theme_override_colors/font_color = Color (0.118581 , 0.118581 , 0.118581 , 1 )
141
+ theme_override_colors/font_uneditable_color = Color (0.117647 , 0.117647 , 0.117647 , 1 )
142
+ theme_override_colors/font_placeholder_color = Color (0.76662 , 0.76662 , 0.76662 , 1 )
143
+ theme_override_constants/minimum_character_width = 0
144
+ theme_override_styles/normal = SubResource ("StyleBoxEmpty_6oowp" )
145
+ theme_override_styles/focus = SubResource ("StyleBoxEmpty_afyv2" )
146
+ theme_override_styles/read_only = SubResource ("StyleBoxEmpty_3r4mt" )
147
+ placeholder_text = "y"
148
+ alignment = 1
149
+ expand_to_text_length = true
150
+
151
+ [node name ="Control2" type ="Control" parent ="InputSwitcher/Vector2Input/HBoxContainer" ]
152
+ layout_mode = 2
153
+ size_flags_horizontal = 3
154
+
87
155
[node name ="SnapPoint" parent ="." instance =ExtResource ("2_6esp3" )]
88
156
unique_name_in_owner = true
89
157
layout_mode = 2
@@ -94,3 +162,5 @@ variant_type = 4
94
162
[connection signal ="text_changed" from ="InputSwitcher/TextInput/LineEdit" to ="." method ="_on_line_edit_text_changed" ]
95
163
[connection signal ="color_changed" from ="InputSwitcher/ColorInput" to ="." method ="_on_color_input_color_changed" ]
96
164
[connection signal ="item_selected" from ="InputSwitcher/OptionInput" to ="." method ="_on_option_input_item_selected" ]
165
+ [connection signal ="text_changed" from ="InputSwitcher/Vector2Input/HBoxContainer/XLineEdit" to ="." method ="_on_line_edit_text_changed" ]
166
+ [connection signal ="text_changed" from ="InputSwitcher/Vector2Input/HBoxContainer/YLineEdit" to ="." method ="_on_line_edit_text_changed" ]
0 commit comments