functional card/row edit and drag

This commit is contained in:
2024-04-23 23:31:42 -05:00
parent 8e01e9cb9b
commit 56dcbb62af
29 changed files with 674 additions and 48 deletions

View File

@@ -11,7 +11,7 @@
[node name="CardEditPopup" type="ConfirmationDialog"]
title = "Edit Card"
position = Vector2i(0, 36)
size = Vector2i(350, 320)
size = Vector2i(350, 327)
visible = true
unresizable = true
always_on_top = true
@@ -24,7 +24,7 @@ anchor_bottom = 1.0
offset_left = 8.0
offset_top = 8.0
offset_right = 342.0
offset_bottom = 271.0
offset_bottom = 278.0
grow_horizontal = 2
grow_vertical = 2
@@ -88,10 +88,18 @@ layout_mode = 2
button_group = SubResource("ButtonGroup_t74v5")
text = "Crop"
[node name="DeleteCardButton" type="Button" parent="CardEditContainer"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
text = "DELETE"
[node name="CardImagePicker" parent="." instance=ExtResource("3_4k21m")]
unique_name_in_owner = true
[connection signal="canceled" from="." to="." method="CancelClicked"]
[connection signal="confirmed" from="." to="." method="OkClicked"]
[connection signal="visibility_changed" from="." to="." method="OnVisibilityChange"]
[connection signal="pressed" from="CardEditContainer/DeleteCardButton" to="." method="DeleteCard"]
[connection signal="file_selected" from="CardImagePicker" to="." method="FileSelected"]