2022-09-29 00:18:13 +02:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://yf8y5e74vv4o"]
|
2022-02-01 00:56:02 +01:00
|
|
|
|
2023-05-26 08:30:13 +02:00
|
|
|
[ext_resource type="Script" path="res://addons/SimpleTODO/TODO.gd" id="1_wo5wb"]
|
2022-02-01 00:56:02 +01:00
|
|
|
|
2022-07-19 11:19:37 +02:00
|
|
|
[node name="TODO" type="Control"]
|
2022-09-29 00:18:13 +02:00
|
|
|
clip_contents = true
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
2022-02-01 00:56:02 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-09-29 00:18:13 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-02-01 00:56:02 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2023-05-26 08:30:13 +02:00
|
|
|
script = ExtResource("1_wo5wb")
|
2022-07-19 11:19:37 +02:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
2022-07-19 11:19:37 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-09-29 00:18:13 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-07-19 11:19:37 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2022-02-01 00:56:02 +01:00
|
|
|
|
2022-07-19 11:19:37 +02:00
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"]
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-02-01 00:56:02 +01:00
|
|
|
|
2022-09-25 20:35:51 +02:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer"]
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-09-25 20:35:51 +02:00
|
|
|
|
2023-05-26 08:30:13 +02:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/separation = 100
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Total" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/MarginContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 8
|
|
|
|
text = "Total: %d"
|
|
|
|
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/MarginContainer2"]
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-02-01 00:56:02 +01:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
text = "Add column"
|
|
|
|
|
2023-05-26 08:30:13 +02:00
|
|
|
[node name="MarginContainer3" type="MarginContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/MarginContainer3"]
|
|
|
|
custom_minimum_size = Vector2(400, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
placeholder_text = "Search Items"
|
|
|
|
clear_button_enabled = true
|
|
|
|
|
2022-09-25 20:35:51 +02:00
|
|
|
[node name="ColumnMirror" type="Control" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
visible = false
|
2023-03-08 02:29:04 +01:00
|
|
|
custom_minimum_size = Vector2(0, 30)
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-09-25 20:35:51 +02:00
|
|
|
|
2022-07-19 11:19:37 +02:00
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
2022-09-25 20:35:51 +02:00
|
|
|
unique_name_in_owner = true
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-02-01 00:56:02 +01:00
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2022-07-19 11:19:37 +02:00
|
|
|
[node name="Columns" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
2022-09-25 20:35:51 +02:00
|
|
|
unique_name_in_owner = true
|
2022-09-29 00:18:13 +02:00
|
|
|
layout_mode = 2
|
2022-02-01 00:56:02 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2023-05-26 08:30:13 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/MarginContainer2/Button" to="." method="add_column" binds= [true]]
|
|
|
|
[connection signal="text_changed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer/MarginContainer3/LineEdit" to="." method="filter_elements"]
|