This commit is contained in:
dingo
2026-04-12 14:44:37 -04:00
parent d5fa790ccc
commit c3a39fd7a1
35 changed files with 1169 additions and 314 deletions
@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3]
[gd_scene load_steps=2 format=3 uid="uid://bae5tlynmnhs1"]
[ext_resource type="Script" path="res://scenes/collection/components/deck_editor_panel.gd" id="1_dep"]
[ext_resource type="Script" uid="uid://bxbvry7ph16jy" path="res://scenes/collection/components/deck_editor_panel.gd" id="1_dep"]
[node name="DeckEditorPanel" type="VBoxContainer"]
size_flags_horizontal = 3
@@ -14,8 +14,8 @@ layout_mode = 2
[node name="TopMargin" type="MarginContainer" parent="TopPanel"]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 8
[node name="TopBar" type="HBoxContainer" parent="TopPanel/TopMargin"]
@@ -24,24 +24,24 @@ theme_override_constants/separation = 8
[node name="BackBtn" type="Button" parent="TopPanel/TopMargin/TopBar"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(80, 32)
layout_mode = 2
text = "◄ Back"
[node name="TitleLabel" type="Label" parent="TopPanel/TopMargin/TopBar"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 15
text = "Editing deck"
text_overrun_behavior = 3
theme_override_font_sizes/font_size = 15
[node name="CountLabel" type="Label" parent="TopPanel/TopMargin/TopBar"]
unique_name_in_owner = true
layout_mode = 2
text = "0 / 40"
modulate = Color(0.75, 0.75, 0.8, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 13
text = "0 / 40"
[node name="Split" type="HBoxContainer" parent="."]
layout_mode = 2
@@ -57,8 +57,8 @@ theme_override_constants/separation = 4
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_top = 6
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 6
[node name="LeftInner" type="VBoxContainer" parent="Split/Left/LeftMargin"]
@@ -67,18 +67,18 @@ size_flags_vertical = 3
theme_override_constants/separation = 4
[node name="LeftHeader" type="Label" parent="Split/Left/LeftMargin/LeftInner"]
layout_mode = 2
text = "Deck Contents"
modulate = Color(0.8, 0.8, 0.85, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 13
text = "Deck Contents"
[node name="DeckLoadingLabel" type="Label" parent="Split/Left/LeftMargin/LeftInner"]
unique_name_in_owner = true
layout_mode = 2
visible = false
text = "Loading…"
modulate = Color(0.65, 0.65, 0.7, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Loading…"
[node name="DeckScroll" type="ScrollContainer" parent="Split/Left/LeftMargin/LeftInner"]
layout_mode = 2
@@ -103,8 +103,8 @@ theme_override_constants/separation = 4
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_top = 6
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 6
[node name="RightInner" type="VBoxContainer" parent="Split/Right/RightMargin"]
@@ -113,10 +113,10 @@ size_flags_vertical = 3
theme_override_constants/separation = 4
[node name="RightHeader" type="Label" parent="Split/Right/RightMargin/RightInner"]
layout_mode = 2
text = "Add Cards"
modulate = Color(0.8, 0.8, 0.85, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 13
text = "Add Cards"
[node name="SearchBar" type="HBoxContainer" parent="Split/Right/RightMargin/RightInner"]
layout_mode = 2
@@ -124,25 +124,25 @@ theme_override_constants/separation = 4
[node name="SearchInput" type="LineEdit" parent="Split/Right/RightMargin/RightInner/SearchBar"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
size_flags_horizontal = 3
custom_minimum_size = Vector2(0, 30)
placeholder_text = "Search…"
theme_override_font_sizes/font_size = 13
placeholder_text = "Search…"
[node name="TypeOption" type="OptionButton" parent="Split/Right/RightMargin/RightInner/SearchBar"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(110, 30)
layout_mode = 2
theme_override_font_sizes/font_size = 12
[node name="CollLoadingLabel" type="Label" parent="Split/Right/RightMargin/RightInner"]
unique_name_in_owner = true
layout_mode = 2
visible = false
text = "Loading…"
modulate = Color(0.65, 0.65, 0.7, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Loading…"
[node name="CollScroll" type="ScrollContainer" parent="Split/Right/RightMargin/RightInner"]
layout_mode = 2
@@ -157,6 +157,6 @@ theme_override_constants/separation = 2
[node name="LoadMoreBtn" type="Button" parent="Split/Right/RightMargin/RightInner"]
unique_name_in_owner = true
layout_mode = 2
visible = false
layout_mode = 2
text = "Load More"