Files
TierMakerGodot/card_preview.tscn

49 lines
1.3 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dh6xfgsoquxdc"]
[ext_resource type="Script" path="res://card_preview.cs" id="1_o00ln"]
[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="CardPreview" type="PanelContainer"]
unique_name_in_owner = true
clip_contents = true
offset_left = 20.0
offset_top = 20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_ndhi0")
script = ExtResource("1_o00ln")
[node name="CardPreviewImage" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 2
expand_mode = 1
stretch_mode = 5
[node name="CardPreviewNameLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 1
text = "Name"
label_settings = SubResource("LabelSettings_ui6ue")
autowrap_mode = 3
[node name="CardPreviewIdLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 8
text = "ID"
label_settings = SubResource("LabelSettings_gncft")
vertical_alignment = 2