@@ -36,49 +36,40 @@ size = Vector2i(750, 750)
3636transient = true
3737script = ExtResource ("1_jja22" )
3838
39- [node name ="Margin " type ="MarginContainer " parent ="." ]
39+ [node name ="PanelContainer " type ="PanelContainer " parent ="." ]
4040anchors_preset = 15
4141anchor_right = 1.0
4242anchor_bottom = 1.0
4343grow_horizontal = 2
4444grow_vertical = 2
45- theme_override_constants/margin_left = 25
46- theme_override_constants/margin_top = 25
47- theme_override_constants/margin_right = 25
48- theme_override_constants/margin_bottom = 25
4945
50- [node name ="VBox " type ="VBoxContainer " parent ="Margin " ]
46+ [node name ="Panel " type ="Panel " parent ="PanelContainer " ]
5147layout_mode = 2
5248
53- [node name ="CopyCode " type ="Button " parent ="Margin/VBox " ]
49+ [node name ="VBox " type ="VBoxContainer " parent ="PanelContainer " ]
5450layout_mode = 2
55- text = "Copy"
5651
57- [node name ="ColorRect" type ="ColorRect" parent ="Margin/VBox" ]
52+ [node name ="Code" type ="TextEdit" parent ="PanelContainer/VBox" ]
53+ unique_name_in_owner = true
5854layout_mode = 2
59- size_flags_horizontal = 3
6055size_flags_vertical = 3
61- color = Color (0.172833 , 0.172833 , 0.172833 , 1 )
56+ theme_override_fonts/font = SubResource ("SystemFont_r6ct2" )
57+ editable = false
58+ syntax_highlighter = SubResource ("CodeHighlighter_yvmnf" )
6259
63- [node name ="Scroll " type ="ScrollContainer " parent ="Margin /VBox/ColorRect " ]
60+ [node name ="HBoxContainer " type ="HBoxContainer " parent ="PanelContainer /VBox" ]
6461layout_mode = 2
65- offset_top = -27.0
66- offset_right = 700.0
67- offset_bottom = 673.0
6862
69- [node name ="Margin " type ="MarginContainer" parent ="Margin /VBox/ColorRect/Scroll " ]
63+ [node name ="MarginContainer " type ="MarginContainer" parent ="PanelContainer /VBox/HBoxContainer " ]
7064layout_mode = 2
7165size_flags_horizontal = 3
72- size_flags_vertical = 3
73- theme_override_constants/margin_left = 35
74- theme_override_constants/margin_top = 55
75- theme_override_constants/margin_right = 35
76- theme_override_constants/margin_bottom = 35
66+ theme_override_constants/margin_left = 3
67+ theme_override_constants/margin_right = 3
68+ theme_override_constants/margin_bottom = 3
7769
78- [node name ="Code " type ="TextEdit " parent ="Margin /VBox/ColorRect/Scroll/Margin " ]
70+ [node name ="CopyCode " type ="Button " parent ="PanelContainer /VBox/HBoxContainer/MarginContainer " ]
7971layout_mode = 2
80- theme_override_fonts/font = SubResource ("SystemFont_r6ct2" )
81- editable = false
82- syntax_highlighter = SubResource ("CodeHighlighter_yvmnf" )
72+ size_flags_horizontal = 4
73+ text = "Copy"
8374
84- [connection signal ="pressed" from ="Margin /VBox/CopyCode" to ="." method ="_on_copy_code_pressed" ]
75+ [connection signal ="pressed" from ="PanelContainer /VBox/HBoxContainer/MarginContainer /CopyCode" to ="." method ="_on_copy_code_pressed" ]
0 commit comments