lab-electrolyte/scenes/worktabs.tscn
2026-02-12 23:50:53 +05:00

45 lines
1.3 KiB
Text

[gd_scene format=3 uid="uid://opfal5aq2p5e"]
[ext_resource type="Script" uid="uid://dxtijlyrv0q57" path="res://src/ui/worktabs.gd" id="1_xfim1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xfim1"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(0.1, 0.1, 0.1, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[node name="Worktabs" type="Panel" unique_id=666307058]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_xfim1")
[node name="TabContainer" type="TabContainer" parent="." unique_id=513419076]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xfim1")
[node name="CloseButton" type="Button" parent="." unique_id=1683733206]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -31.0
offset_bottom = 31.0
grow_horizontal = 0
theme_override_font_sizes/font_size = 16
text = "X"
[connection signal="pressed" from="CloseButton" to="TabContainer" method="_on_close_button_pressed"]