From fa09ada1e1b28f6d8632f4c94e6c516c1756e05f Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Fri, 29 Aug 2025 19:32:12 +1000 Subject: [PATCH] new sub tab --- .../Features/Debug_/{ => DebugPanelTab}/DebugPanelTab.cs | 0 .../Debug_/{ => DebugPanelTab}/DebugPanelTab.cs.uid | 0 .../Debug_/{ => DebugPanelTab}/DebugPanelTab.tscn | 8 ++++++-- .../DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn | 9 +++++++++ 4 files changed, 15 insertions(+), 2 deletions(-) rename src/SharpIDE.Godot/Features/Debug_/{ => DebugPanelTab}/DebugPanelTab.cs (100%) rename src/SharpIDE.Godot/Features/Debug_/{ => DebugPanelTab}/DebugPanelTab.cs.uid (100%) rename src/SharpIDE.Godot/Features/Debug_/{ => DebugPanelTab}/DebugPanelTab.tscn (72%) create mode 100644 src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn diff --git a/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.cs b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.cs similarity index 100% rename from src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.cs rename to src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.cs diff --git a/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.cs.uid b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.cs.uid similarity index 100% rename from src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.cs.uid rename to src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.cs.uid diff --git a/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.tscn b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.tscn similarity index 72% rename from src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.tscn rename to src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.tscn index 6acde03..a76b579 100644 --- a/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab.tscn +++ b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/DebugPanelTab.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=3 format=3 uid="uid://d4d0umsglu2ex"] +[gd_scene load_steps=4 format=3 uid="uid://d4d0umsglu2ex"] -[ext_resource type="Script" uid="uid://b6gq81odfn8ok" path="res://Features/Debug_/DebugPanelTab.cs" id="1_yinwn"] +[ext_resource type="Script" uid="uid://b6gq81odfn8ok" path="res://Features/Debug_/DebugPanelTab/DebugPanelTab.cs" id="1_yinwn"] +[ext_resource type="PackedScene" uid="uid://bdu08nd7si641" path="res://Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn" id="2_0jpwf"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dx3i6"] bg_color = Color(0.129589, 0.120703, 0.112057, 1) @@ -28,6 +29,9 @@ visible = false layout_mode = 2 metadata/_tab_index = 0 +[node name="ThreadsVariablesSubTab" parent="TabContainer/Threads & Variables" instance=ExtResource("2_0jpwf")] +layout_mode = 1 + [node name="Console" type="Control" parent="TabContainer"] layout_mode = 2 metadata/_tab_index = 1 diff --git a/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn new file mode 100644 index 0000000..d8303f7 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn @@ -0,0 +1,9 @@ +[gd_scene format=3 uid="uid://bdu08nd7si641"] + +[node name="ThreadsVariablesSubTab" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2