@@ -44,9 +44,7 @@ grow_horizontal = 0
4444grow_vertical = 0
4545mouse_filter = 2
4646
47- [node name ="ZoomButtons" type ="HBoxContainer" parent ="WindowContainer/Overlay" ]
48- unique_name_in_owner = true
49- visible = false
47+ [node name ="MarginContainer" type ="MarginContainer" parent ="WindowContainer/Overlay" ]
5048layout_mode = 1
5149anchors_preset = 3
5250anchor_left = 1.0
@@ -58,24 +56,33 @@ offset_top = -40.0
5856grow_horizontal = 0
5957grow_vertical = 0
6058mouse_filter = 2
59+ theme_override_constants/margin_left = 4
60+ theme_override_constants/margin_top = 4
61+ theme_override_constants/margin_right = 4
62+ theme_override_constants/margin_bottom = 4
63+
64+ [node name ="ZoomButtons" type ="HBoxContainer" parent ="WindowContainer/Overlay/MarginContainer" ]
65+ unique_name_in_owner = true
66+ visible = false
67+ layout_mode = 2
6168
62- [node name ="ZoomOutButton" type ="Button" parent ="WindowContainer/Overlay/ZoomButtons" ]
69+ [node name ="ZoomOutButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ ZoomButtons" ]
6370modulate = Color (1 , 1 , 1 , 0.470588 )
6471custom_minimum_size = Vector2 (25 , 0 )
6572layout_mode = 2
6673focus_mode = 0
6774theme_override_font_sizes/font_size = 24
6875text = "-"
6976
70- [node name ="ZoomButton" type ="Button" parent ="WindowContainer/Overlay/ZoomButtons" ]
77+ [node name ="ZoomButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ ZoomButtons" ]
7178unique_name_in_owner = true
7279modulate = Color (1 , 1 , 1 , 0.470588 )
7380layout_mode = 2
7481focus_mode = 0
7582theme_override_font_sizes/font_size = 24
7683text = "1.0x"
7784
78- [node name ="ZoomInButton" type ="Button" parent ="WindowContainer/Overlay/ZoomButtons" ]
85+ [node name ="ZoomInButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ ZoomButtons" ]
7986modulate = Color (1 , 1 , 1 , 0.470588 )
8087custom_minimum_size = Vector2 (25 , 0 )
8188layout_mode = 2
@@ -107,7 +114,7 @@ size_flags_vertical = 4
107114[node name ="Label" type ="Label" parent ="SelectedNodeBox" ]
108115custom_minimum_size = Vector2 (200 , 0 )
109116layout_mode = 2
110- text = "Use block coding to create custom behavior and game mechanics for \" ZoomOutButton \" ."
117+ text = "Use block coding to create custom behavior and game mechanics for \" ZoomInButton \" ."
111118horizontal_alignment = 1
112119autowrap_mode = 2
113120
@@ -157,9 +164,9 @@ disabled = true
157164text = "Override Block Code"
158165icon = ExtResource ("2_710vn" )
159166
160- [connection signal ="pressed" from ="WindowContainer/Overlay/ZoomButtons/ZoomOutButton" to ="." method ="_on_zoom_out_button_pressed " ]
161- [connection signal ="pressed" from ="WindowContainer/Overlay/ZoomButtons/ZoomButton" to ="." method ="_on_zoom_button_pressed" ]
162- [connection signal ="pressed" from ="WindowContainer/Overlay/ZoomButtons/ZoomInButton" to ="." method ="_on_zoom_in_button_pressed " ]
167+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ ZoomButtons/ZoomOutButton" to ="." method ="_on_zoom_button_pressed " ]
168+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ ZoomButtons/ZoomButton" to ="." method ="_on_zoom_button_pressed" ]
169+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ ZoomButtons/ZoomInButton" to ="." method ="_on_zoom_button_pressed " ]
163170[connection signal ="pressed" from ="SelectedNodeBox/ButtonsBox/AddBlockCodeButton" to ="." method ="_on_add_block_code_button_pressed" ]
164171[connection signal ="pressed" from ="SelectedNodeWithBlockCodeBox/ButtonsBox/OpenSceneButton" to ="." method ="_on_open_scene_button_pressed" ]
165172[connection signal ="pressed" from ="SelectedNodeWithBlockCodeBox/ButtonsBox/ReplaceBlockCodeButton" to ="." method ="_on_replace_block_code_button_pressed" ]
0 commit comments