86 lines
2.6 KiB
Plaintext
86 lines
2.6 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://ca8qmqtdwyt1s"]
|
|
|
|
[ext_resource type="Script" uid="uid://d26atv3dne7jl" path="res://scenes/collection/views/cards_view.gd" id="1_cv"]
|
|
|
|
[node name="CardsView" type="VBoxContainer"]
|
|
script = ExtResource("1_cv")
|
|
|
|
[node name="FilterBar" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="SearchInput" type="LineEdit" parent="FilterBar"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
placeholder_text = "Search cards…"
|
|
|
|
[node name="FilterRow" type="HBoxContainer" parent="FilterBar"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="TypeOption" type="OptionButton" parent="FilterBar/FilterRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="AffinityOption" type="OptionButton" parent="FilterBar/FilterRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="."]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="ScrollInner" type="VBoxContainer" parent="Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="CardGridMargin" type="MarginContainer" parent="Scroll/ScrollInner"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="CardGrid" type="GridContainer" parent="Scroll/ScrollInner/CardGridMargin"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/h_separation = 8
|
|
theme_override_constants/v_separation = 8
|
|
columns = 2
|
|
|
|
[node name="StatusRow" type="HBoxContainer" parent="Scroll/ScrollInner"]
|
|
custom_minimum_size = Vector2(0, 44)
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="LoadingLabel" type="Label" parent="Scroll/ScrollInner/StatusRow"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0.75, 0.75, 0.8, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Loading…"
|
|
|
|
[node name="EmptyLabel" type="Label" parent="Scroll/ScrollInner/StatusRow"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
modulate = Color(0.6, 0.6, 0.65, 1)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "No cards found."
|
|
|
|
[node name="LoadMoreBtn" type="Button" parent="Scroll/ScrollInner/StatusRow"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
custom_minimum_size = Vector2(120, 36)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Load More"
|