diff --git a/addons/file-editor/scenes/CSVEditor.tscn b/addons/file-editor/scenes/CSVEditor.tscn index b211530..aa53ce3 100644 --- a/addons/file-editor/scenes/CSVEditor.tscn +++ b/addons/file-editor/scenes/CSVEditor.tscn @@ -1,6 +1,5 @@ -[gd_scene load_steps=35 format=2] +[gd_scene load_steps=34 format=2] -[ext_resource path="res://addons/file-editor/scenes/Readonly.tscn" type="PackedScene" id=1] [ext_resource path="res://addons/file-editor/scripts/CSVEditor.gd" type="Script" id=2] [sub_resource type="Image" id=31] @@ -397,10 +396,15 @@ margin_bottom = 19.0 custom_colors/font_color = Color( 0, 1, 0.156863, 1 ) text = "|" -[node name="Readonly" parent="Container/FileProperties" instance=ExtResource( 1 )] +[node name="Readonly" type="CheckBox" parent="Container/FileProperties"] +margin_left = 945.0 +margin_right = 1024.0 margin_bottom = 24.0 +size_flags_horizontal = 10 custom_icons/checked = SubResource( 58 ) custom_icons/unchecked = SubResource( 60 ) +text = "Can Edit" +flat = true [node name="EditDialog" type="AcceptDialog" parent="."] anchor_left = 0.5 diff --git a/addons/file-editor/scenes/Readonly.tscn b/addons/file-editor/scenes/Readonly.tscn deleted file mode 100644 index 1efcfc1..0000000 --- a/addons/file-editor/scenes/Readonly.tscn +++ /dev/null @@ -1,11 +0,0 @@ -[gd_scene format=2] - -[node name="Readonly" type="CheckBox"] -margin_left = 945.0 -margin_right = 1024.0 -margin_bottom = 19.0 -size_flags_horizontal = 10 -custom_colors/font_color = Color( 0.145098, 0.172549, 0.231373, 1 ) -custom_colors/font_color_pressed = Color( 1, 1, 1, 1 ) -text = "Can Edit" -flat = true diff --git a/addons/file-editor/scenes/VanillaEditor.tscn b/addons/file-editor/scenes/VanillaEditor.tscn index 2f6c753..e0da846 100644 --- a/addons/file-editor/scenes/VanillaEditor.tscn +++ b/addons/file-editor/scenes/VanillaEditor.tscn @@ -33,9 +33,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 size_flags_vertical = 3 script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="TextEditor" type="TextEdit" parent="."] margin_right = 1024.0 @@ -204,8 +201,6 @@ margin_left = 945.0 margin_right = 1024.0 margin_bottom = 24.0 size_flags_horizontal = 10 -custom_colors/font_color = Color( 0.145098, 0.172549, 0.231373, 1 ) -custom_colors/font_color_pressed = Color( 1, 1, 1, 1 ) custom_icons/checked = SubResource( 2 ) custom_icons/unchecked = SubResource( 4 ) text = "Can Edit"