2023-11-20 08:21:28 +01:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://e06xegp2tp3f"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://addons/flexible_layout/flexible_tab.gd" id="1"]
|
2023-12-17 18:30:41 +01:00
|
|
|
[ext_resource type="Texture2D" uid="uid://xuy6dfh1rsne" path="res://addons/flexible_layout/undock.png" id="2_nx0qp"]
|
2023-11-20 08:21:28 +01:00
|
|
|
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_bok24"]
|
|
|
|
size = Vector2(16, 16)
|
|
|
|
|
2024-05-08 10:52:43 +02:00
|
|
|
[node name="Tab" type="PanelContainer"]
|
2023-11-20 08:21:28 +01:00
|
|
|
offset_right = 41.0
|
|
|
|
offset_bottom = 26.0
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 0
|
2024-05-08 10:52:43 +02:00
|
|
|
theme_type_variation = &"MM_FlexibleTab"
|
2023-11-20 08:21:28 +01:00
|
|
|
script = ExtResource("1")
|
|
|
|
|
|
|
|
[node name="Container" type="HBoxContainer" parent="."]
|
|
|
|
clip_contents = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 0
|
|
|
|
mouse_filter = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Container"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 0
|
|
|
|
|
|
|
|
[node name="Undock" type="TextureButton" parent="Container"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
2023-11-23 19:57:41 +01:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
2023-12-17 18:30:41 +01:00
|
|
|
texture_normal = ExtResource("2_nx0qp")
|
2023-11-20 08:21:28 +01:00
|
|
|
|
|
|
|
[node name="Close" type="TextureButton" parent="Container"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
2023-11-23 19:57:41 +01:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
2023-11-20 08:21:28 +01:00
|
|
|
texture_normal = SubResource("PlaceholderTexture2D_bok24")
|
2023-11-26 23:20:37 +01:00
|
|
|
|
2023-11-30 20:52:13 +01:00
|
|
|
[connection signal="pressed" from="Container/Undock" to="." method="_on_undock_pressed"]
|
2023-11-26 23:20:37 +01:00
|
|
|
[connection signal="pressed" from="Container/Close" to="." method="_on_close_pressed"]
|