mirror of
https://codeberg.org/Ikatono/TierMaker.git
synced 2025-10-28 20:45:35 -05:00
functional card/row edit and drag
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user