basically function but needs a lot of refinement

This commit is contained in:
2024-04-23 03:24:23 -05:00
parent 3ac7bf33c4
commit d3beca8014
26 changed files with 985 additions and 345 deletions

View File

@@ -13,18 +13,9 @@ outline_color = Color(0, 0, 0, 1)
outline_size = 2
outline_color = Color(0, 0, 0, 1)
[node name="Card" type="Control" groups=["CardGroup"]]
custom_minimum_size = Vector2(200, 200)
layout_mode = 3
anchors_preset = 0
offset_right = 200.0
offset_bottom = 200.0
mouse_filter = 1
script = ExtResource("1_dysu7")
[node name="CardBackground" type="Panel" parent="."]
[node name="Card" type="Panel" groups=["CardGroup"]]
unique_name_in_owner = true
layout_mode = 1
clip_contents = true
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -32,8 +23,9 @@ grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_ndhi0")
script = ExtResource("1_dysu7")
[node name="CardImage" type="TextureRect" parent="CardBackground"]
[node name="CardImage" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
@@ -41,22 +33,23 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
expand_mode = 1
stretch_mode = 5
[node name="CardNameLabel" type="Label" parent="."]
unique_name_in_owner = true
z_index = 1
layout_mode = 0
offset_right = 40.0
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
mouse_filter = 1
grow_horizontal = 2
text = "Name"
label_settings = SubResource("LabelSettings_ui6ue")
autowrap_mode = 3
[node name="CardIdLabel" type="Label" parent="."]
unique_name_in_owner = true
z_index = 1
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -64,6 +57,5 @@ anchor_bottom = 1.0
offset_top = -23.0
offset_right = 40.0
grow_vertical = 0
mouse_filter = 1
text = "ID"
label_settings = SubResource("LabelSettings_gncft")