[gd_scene load_steps=4 format=3 uid="uid://ele8o7eeuxa4"]

[ext_resource type="Script" uid="uid://c5haff0ydxge5" path="res://Scripts/panel/asset_panel.gd" id="1_r3mew"]
[ext_resource type="Theme" uid="uid://dmgdeh6kw3b7u" path="res://Resources/Theme/basic_theme.tres" id="2_0s2fn"]
[ext_resource type="Texture2D" uid="uid://dxpdxw5opo110" path="res://Resources/UI/refresh.png" id="3_hjq1m"]

[node name="AssetPanel" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_r3mew")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme = ExtResource("2_0s2fn")
theme_override_constants/margin_bottom = 1

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(60, 0)
layout_mode = 2
bbcode_enabled = true
text = "[font_size=20][b]Asset[/b][/font_size]"
fit_content = true
scroll_active = false

[node name="RefreshButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_0s2fn")
icon = ExtResource("3_hjq1m")
icon_alignment = 1

[node name="Control" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="SearchLineEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(180, 0)
layout_mode = 2
theme = ExtResource("2_0s2fn")
placeholder_text = "Search..."
clear_button_enabled = true

[node name="ItemList" type="ItemList" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("2_0s2fn")
max_columns = 9999
fixed_column_width = 100
icon_mode = 0
fixed_icon_size = Vector2i(80, 80)
