mirror of
https://github.com/Relintai/Godot-Simple-TODO.git
synced 2024-12-20 10:16:52 +01:00
102 lines
4.2 KiB
Plaintext
102 lines
4.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bga0tfe37uva2"]
|
|
|
|
[ext_resource type="Script" path="res://addons/SimpleTODO/TODOColumn.gd" id="1"]
|
|
[ext_resource type="PackedScene" uid="uid://cwcwdmxxpf65e" path="res://addons/SimpleTODO/ColumnHeader.tscn" id="2"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="3"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 4.0
|
|
bg_color = Color(0, 0, 0, 0.501961)
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[sub_resource type="Image" id="Image_2oyio"]
|
|
data = {
|
|
"data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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
|
|
"height": 16,
|
|
"mipmaps": false,
|
|
"width": 16
|
|
}
|
|
|
|
[sub_resource type="ImageTexture" id="5"]
|
|
image = SubResource("Image_2oyio")
|
|
|
|
[node name="TODOColumn" type="PanelContainer"]
|
|
custom_minimum_size = Vector2i(400, 0)
|
|
size_flags_vertical = 2
|
|
theme_override_styles/panel = SubResource("3")
|
|
script = ExtResource("1")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 4.0
|
|
offset_top = 4.0
|
|
offset_right = 396.0
|
|
offset_bottom = 90.0
|
|
|
|
[node name="Header" parent="VBoxContainer" instance=ExtResource("2")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_right = 392.0
|
|
offset_bottom = 31.0
|
|
|
|
[node name="TopSeparator" type="HSeparator" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_top = 35.0
|
|
offset_right = 392.0
|
|
offset_bottom = 39.0
|
|
|
|
[node name="Items" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_top = 43.0
|
|
offset_right = 392.0
|
|
offset_bottom = 43.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="BottomSeparator" type="HSeparator" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_top = 47.0
|
|
offset_right = 392.0
|
|
offset_bottom = 51.0
|
|
|
|
[node name="Actions" type="HBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_top = 55.0
|
|
offset_right = 392.0
|
|
offset_bottom = 86.0
|
|
|
|
[node name="AddItem" type="Button" parent="VBoxContainer/Actions"]
|
|
layout_mode = 2
|
|
offset_right = 364.0
|
|
offset_bottom = 31.0
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Add Item"
|
|
text = "+"
|
|
|
|
[node name="DeleteColumn" type="Button" parent="VBoxContainer/Actions"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
offset_left = 368.0
|
|
offset_right = 392.0
|
|
offset_bottom = 31.0
|
|
tooltip_text = "Delete Column"
|
|
icon = SubResource("5")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Actions/AddItem" to="." method="add_item" binds= [true]]
|
|
[connection signal="pressed" from="VBoxContainer/Actions/DeleteColumn" to="." method="delete_column"]
|
|
[connection signal="timeout" from="Timer" to="." method="request_save"]
|