[gd_scene load_steps=2 format=3 uid="uid://c4p1nfvj0oy7k"] [ext_resource type="Script" path="res://scenes/ui/deck_manager/deck_editor.gd" id="1_b0nwp"] [node name="DeckEditor" type="Panel"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_b0nwp") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 60 theme_override_constants/margin_top = 60 theme_override_constants/margin_right = 60 theme_override_constants/margin_bottom = 60 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 theme_override_constants/separation = 20 [node name="Title" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "Edit Deck" horizontal_alignment = 1 [node name="DeckInfoSection" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 10 [node name="NameLabel" type="Label" parent="MarginContainer/VBoxContainer/DeckInfoSection"] layout_mode = 2 text = "Deck Name:" [node name="DeckNameEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/DeckInfoSection"] layout_mode = 2 placeholder_text = "Enter deck name" [node name="DescLabel" type="Label" parent="MarginContainer/VBoxContainer/DeckInfoSection"] layout_mode = 2 text = "Description:" [node name="DeckDescEdit" type="TextEdit" parent="MarginContainer/VBoxContainer/DeckInfoSection"] custom_minimum_size = Vector2(0, 60) layout_mode = 2 placeholder_text = "Enter deck description" [node name="ColorLabel" type="Label" parent="MarginContainer/VBoxContainer/DeckInfoSection"] layout_mode = 2 text = "Deck Color:" [node name="ColorPicker" type="ColorPickerButton" parent="MarginContainer/VBoxContainer/DeckInfoSection"] layout_mode = 2 [node name="CardsSection" type="VBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 10 [node name="CardsLabel" type="Label" parent="MarginContainer/VBoxContainer/CardsSection"] layout_mode = 2 theme_override_font_sizes/font_size = 20 text = "Cards:" [node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer/CardsSection"] layout_mode = 2 size_flags_vertical = 3 [node name="CardsList" type="VBoxContainer" parent="MarginContainer/VBoxContainer/CardsSection/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 10 [node name="AddCardButton" type="Button" parent="MarginContainer/VBoxContainer/CardsSection"] custom_minimum_size = Vector2(0, 40) layout_mode = 2 text = "+ Add Card" [node name="ButtonsSection" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 20 alignment = 1 [node name="CancelButton" type="Button" parent="MarginContainer/VBoxContainer/ButtonsSection"] custom_minimum_size = Vector2(150, 50) layout_mode = 2 text = "Cancel" [node name="SaveButton" type="Button" parent="MarginContainer/VBoxContainer/ButtonsSection"] custom_minimum_size = Vector2(150, 50) layout_mode = 2 text = "Save Deck"