mirror of
https://github.com/mr0xb/godot-flashcards.git
synced 2026-08-27 20:44:56 -04:00
56 lines
1.9 KiB
Text
56 lines
1.9 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://clrpqfuax7qhv"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/ui/deck_manager/deck_list_item.gd" id="1_qp4wn"]
|
|
|
|
[node name="DeckListItem" type="PanelContainer"]
|
|
custom_minimum_size = Vector2(0, 80)
|
|
script = ExtResource("1_qp4wn")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ColorIndicator" type="ColorRect" parent="MarginContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(8, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 5
|
|
|
|
[node name="DeckName" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Deck Name"
|
|
|
|
[node name="DeckInfo" type="Label" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "0 cards"
|
|
|
|
[node name="Actions" type="HBoxContainer" parent="MarginContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="StudyButton" type="Button" parent="MarginContainer/HBoxContainer/Actions"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Study"
|
|
|
|
[node name="EditButton" type="Button" parent="MarginContainer/HBoxContainer/Actions"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Edit"
|
|
|
|
[node name="DeleteButton" type="Button" parent="MarginContainer/HBoxContainer/Actions"]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
text = "Delete"
|