97 lines
2.6 KiB
Plaintext
97 lines
2.6 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/marketplace_ui.gd" id="1_mpu"]
|
|
|
|
[node name="MarketplaceUI" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_mpu")
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 32.0
|
|
offset_right = -32.0
|
|
offset_bottom = -32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="HeaderHBox" type="HBoxContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="BackButton" type="Button" parent="VBox/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "< Back"
|
|
|
|
[node name="TitleLabel" type="Label" parent="VBox/HeaderHBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Marketplace"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="BalanceLabel" type="Label" parent="VBox/HeaderHBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
theme_override_colors/font_color = Color(1, 0.84, 0, 1)
|
|
text = "Wallet: 0 Buffalo Chips"
|
|
|
|
[node name="RefreshButton" type="Button" parent="VBox/HeaderHBox"]
|
|
custom_minimum_size = Vector2(100, 36)
|
|
layout_mode = 2
|
|
text = "Refresh"
|
|
|
|
[node name="FilterBar" type="HBoxContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="SearchEdit" type="LineEdit" parent="VBox/FilterBar"]
|
|
custom_minimum_size = Vector2(200, 36)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Search items by name or description..."
|
|
|
|
[node name="TypeOption" type="OptionButton" parent="VBox/FilterBar"]
|
|
custom_minimum_size = Vector2(140, 36)
|
|
layout_mode = 2
|
|
|
|
[node name="MinPriceEdit" type="LineEdit" parent="VBox/FilterBar"]
|
|
custom_minimum_size = Vector2(110, 36)
|
|
layout_mode = 2
|
|
placeholder_text = "Min Chips"
|
|
|
|
[node name="MaxPriceEdit" type="LineEdit" parent="VBox/FilterBar"]
|
|
custom_minimum_size = Vector2(110, 36)
|
|
layout_mode = 2
|
|
placeholder_text = "Max Chips"
|
|
|
|
[node name="SearchBtn" type="Button" parent="VBox/FilterBar"]
|
|
custom_minimum_size = Vector2(90, 36)
|
|
layout_mode = 2
|
|
text = "Search"
|
|
|
|
[node name="StatusLabel" type="Label" parent="VBox"]
|
|
layout_mode = 2
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="VBox"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ListingsGrid" type="GridContainer" parent="VBox/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/h_separation = 16
|
|
theme_override_constants/v_separation = 16
|
|
columns = 4
|