mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2024-11-12 22:27:22 +01:00
Merge the read only button to the scenes that use it.
This commit is contained in:
parent
2056a7a200
commit
9fc8f92e0f
@ -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]
|
[ext_resource path="res://addons/file-editor/scripts/CSVEditor.gd" type="Script" id=2]
|
||||||
|
|
||||||
[sub_resource type="Image" id=31]
|
[sub_resource type="Image" id=31]
|
||||||
@ -397,10 +396,15 @@ margin_bottom = 19.0
|
|||||||
custom_colors/font_color = Color( 0, 1, 0.156863, 1 )
|
custom_colors/font_color = Color( 0, 1, 0.156863, 1 )
|
||||||
text = "|"
|
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
|
margin_bottom = 24.0
|
||||||
|
size_flags_horizontal = 10
|
||||||
custom_icons/checked = SubResource( 58 )
|
custom_icons/checked = SubResource( 58 )
|
||||||
custom_icons/unchecked = SubResource( 60 )
|
custom_icons/unchecked = SubResource( 60 )
|
||||||
|
text = "Can Edit"
|
||||||
|
flat = true
|
||||||
|
|
||||||
[node name="EditDialog" type="AcceptDialog" parent="."]
|
[node name="EditDialog" type="AcceptDialog" parent="."]
|
||||||
anchor_left = 0.5
|
anchor_left = 0.5
|
||||||
|
@ -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
|
|
@ -33,9 +33,6 @@ anchor_right = 1.0
|
|||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
__meta__ = {
|
|
||||||
"_edit_use_anchors_": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[node name="TextEditor" type="TextEdit" parent="."]
|
[node name="TextEditor" type="TextEdit" parent="."]
|
||||||
margin_right = 1024.0
|
margin_right = 1024.0
|
||||||
@ -204,8 +201,6 @@ margin_left = 945.0
|
|||||||
margin_right = 1024.0
|
margin_right = 1024.0
|
||||||
margin_bottom = 24.0
|
margin_bottom = 24.0
|
||||||
size_flags_horizontal = 10
|
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/checked = SubResource( 2 )
|
||||||
custom_icons/unchecked = SubResource( 4 )
|
custom_icons/unchecked = SubResource( 4 )
|
||||||
text = "Can Edit"
|
text = "Can Edit"
|
||||||
|
Loading…
Reference in New Issue
Block a user