Files
TierMakerGodot/card.tscn

70 lines
1.7 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://wpe6vmdco84g"]
[ext_resource type="Script" path="res://card.cs" id="1_dysu7"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ndhi0"]
bg_color = Color(1, 1, 1, 1)
[sub_resource type="LabelSettings" id="LabelSettings_ui6ue"]
outline_size = 2
outline_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_gncft"]
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="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_ndhi0")
[node name="CardImage" type="TextureRect" parent="CardBackground"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 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
offset_bottom = 23.0
mouse_filter = 1
text = "Name"
label_settings = SubResource("LabelSettings_ui6ue")
[node name="CardIdLabel" type="Label" parent="."]
unique_name_in_owner = true
z_index = 1
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
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")