[gd_scene load_steps=6 format=3 uid="uid://c3s1t8hiu6xll"]

[ext_resource type="Script" uid="uid://b1qee7jc05l0w" path="res://addons/icon_explorer/internal/ui/detail_panel/detail_panel.gd" id="1_2iwjs"]
[ext_resource type="Script" uid="uid://cc7f3lnfrmsfx" path="res://addons/icon_explorer/internal/ui/detail_panel/toolbar.gd" id="2_rtuoh"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_p1g3s"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0v6yn"]
draw_center = false
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.439216, 0.729412, 0.980392, 1)

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_brt2g"]

[node name="detail_panel" type="PanelContainer" node_paths=PackedStringArray("_detail_container", "_hint_container", "_toolbar", "_detail_tabs", "_icon", "_preview_background", "_preview_panel", "_name", "_collection", "_size", "_toolbar_panel")]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxEmpty_p1g3s")
script = ExtResource("1_2iwjs")
_detail_container = NodePath("detail_container")
_hint_container = NodePath("hint_container")
_toolbar = NodePath("detail_container/toolbar_panel/toolbar")
_detail_tabs = NodePath("detail_container/v_box_container/scroll_container/detail_tabs")
_icon = NodePath("detail_container/v_box_container/preview/icon")
_preview_background = NodePath("detail_container/v_box_container/preview/background")
_preview_panel = NodePath("detail_container/v_box_container/preview")
_name = NodePath("detail_container/v_box_container/name")
_collection = NodePath("detail_container/toolbar_panel/toolbar/collection")
_size = NodePath("detail_container/v_box_container/size")
_toolbar_panel = NodePath("detail_container/toolbar_panel")

[node name="detail_container" type="VBoxContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = 0

[node name="toolbar_panel" type="PanelContainer" parent="detail_container"]
layout_mode = 2

[node name="toolbar" type="HBoxContainer" parent="detail_container/toolbar_panel" node_paths=PackedStringArray("_save_button", "_save_colored_button")]
layout_mode = 2
script = ExtResource("2_rtuoh")
_save_button = NodePath("save")
_save_colored_button = NodePath("save_in_color")

[node name="save" type="Button" parent="detail_container/toolbar_panel/toolbar"]
layout_mode = 2
tooltip_text = "Save original"

[node name="save_in_color" type="Button" parent="detail_container/toolbar_panel/toolbar"]
layout_mode = 2
tooltip_text = "Save colored"

[node name="control" type="Control" parent="detail_container/toolbar_panel/toolbar"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2
size_flags_horizontal = 3

[node name="collection" type="Label" parent="detail_container/toolbar_panel/toolbar"]
layout_mode = 2

[node name="v_box_container" type="VBoxContainer" parent="detail_container"]
layout_mode = 2
size_flags_vertical = 3

[node name="size" type="Label" parent="detail_container/v_box_container"]
layout_mode = 2

[node name="preview" type="PanelContainer" parent="detail_container/v_box_container"]
custom_minimum_size = Vector2(0, 64)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_styles/panel = SubResource("StyleBoxFlat_0v6yn")

[node name="background" type="TextureRect" parent="detail_container/v_box_container/preview"]
visible = false
layout_mode = 2
expand_mode = 3
stretch_mode = 2

[node name="icon" type="TextureRect" parent="detail_container/v_box_container/preview"]
layout_mode = 2
expand_mode = 3
stretch_mode = 5

[node name="name" type="Label" parent="detail_container/v_box_container"]
layout_mode = 2
horizontal_alignment = 1
autowrap_mode = 2

[node name="h_separator" type="HSeparator" parent="detail_container/v_box_container"]
layout_mode = 2
theme_override_constants/separation = 16

[node name="scroll_container" type="ScrollContainer" parent="detail_container/v_box_container"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3

[node name="detail_tabs" type="TabContainer" parent="detail_container/v_box_container/scroll_container"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxEmpty_brt2g")
tabs_visible = false

[node name="hint_container" type="CenterContainer" parent="."]
visible = false
layout_mode = 2

[node name="label" type="Label" parent="hint_container"]
layout_mode = 2
text = "Select an icon"
horizontal_alignment = 1
vertical_alignment = 1
