2020-09-21 15:36:09 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://scenes/text_editor.gd" type="Script" id=2]
|
|
|
|
|
2020-11-10 22:52:48 +01:00
|
|
|
[node name="TextEditor" type="TextEdit" groups=[
|
|
|
|
"editors",
|
|
|
|
]]
|
2020-09-21 15:36:09 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
custom_colors/background_color = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Text here"
|
|
|
|
syntax_highlighting = true
|
2020-10-27 18:21:57 +01:00
|
|
|
wrap_enabled = true
|
2020-09-21 15:36:09 +02:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="SaveButton" type="Button" parent="."]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-09-22 16:12:03 +02:00
|
|
|
margin_left = -114.396
|
2020-09-21 15:36:09 +02:00
|
|
|
margin_top = -59.399
|
2020-09-22 16:12:03 +02:00
|
|
|
margin_right = -14.3955
|
2020-09-21 15:36:09 +02:00
|
|
|
margin_bottom = -14.399
|
2020-09-21 18:53:36 +02:00
|
|
|
focus_mode = 0
|
2020-09-21 15:36:09 +02:00
|
|
|
custom_fonts/font = ExtResource( 1 )
|
2020-09-21 18:53:36 +02:00
|
|
|
enabled_focus_mode = 0
|
2020-09-21 15:36:09 +02:00
|
|
|
text = "Save"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-22 15:55:01 +02:00
|
|
|
|
|
|
|
[node name="CloseButton" type="Button" parent="."]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
2020-09-22 16:12:03 +02:00
|
|
|
margin_left = -54.3247
|
2020-09-22 15:55:01 +02:00
|
|
|
margin_top = 12.0
|
2020-09-22 16:12:03 +02:00
|
|
|
margin_right = -14.3247
|
2020-09-22 15:55:01 +02:00
|
|
|
margin_bottom = 52.0
|
|
|
|
focus_mode = 0
|
|
|
|
custom_fonts/font = ExtResource( 1 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "x"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-21 15:36:09 +02:00
|
|
|
[connection signal="pressed" from="SaveButton" to="." method="save"]
|
2020-09-22 15:55:01 +02:00
|
|
|
[connection signal="pressed" from="CloseButton" to="." method="close"]
|