From 05c7219defb6ab18147a1e32b73e6bd0b78aff23 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sun, 17 Aug 2025 18:04:28 +1000 Subject: [PATCH] layout v1 --- src/SharpIDE.Godot/IdeRoot.tscn | 24 +++++++++++++++++++++++- src/SharpIDE.Godot/SharpIDE.Godot.sln | 8 ++++++++ src/SharpIDE.Godot/project.godot | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/SharpIDE.Godot/IdeRoot.tscn b/src/SharpIDE.Godot/IdeRoot.tscn index f090c58..1896098 100644 --- a/src/SharpIDE.Godot/IdeRoot.tscn +++ b/src/SharpIDE.Godot/IdeRoot.tscn @@ -8,13 +8,35 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -[node name="CodeEdit" type="CodeEdit" parent="."] +[node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 + +[node name="Panel" type="Panel" parent="VBoxContainer"] +custom_minimum_size = Vector2(0, 40) +layout_mode = 2 + +[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Panel" type="Panel" parent="VBoxContainer/HBoxContainer"] +custom_minimum_size = Vector2(50, 0) +layout_mode = 2 + +[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 + +[node name="SolutionExplorerPanel" type="Panel" parent="VBoxContainer/HBoxContainer/HSplitContainer"] +layout_mode = 2 + +[node name="CodeEdit" type="CodeEdit" parent="VBoxContainer/HBoxContainer/HSplitContainer"] +layout_mode = 2 gutters_draw_line_numbers = true code_completion_enabled = true auto_brace_completion_enabled = true diff --git a/src/SharpIDE.Godot/SharpIDE.Godot.sln b/src/SharpIDE.Godot/SharpIDE.Godot.sln index 607d335..17c9db7 100644 --- a/src/SharpIDE.Godot/SharpIDE.Godot.sln +++ b/src/SharpIDE.Godot/SharpIDE.Godot.sln @@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpIDE.Godot", "SharpIDE. EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpIDE.Application", "..\SharpIDE.Application\SharpIDE.Application.csproj", "{DA9F0293-3CFC-4F21-AB74-CF1A069D807C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpIDE.Photino", "..\SharpIDE.Photino\SharpIDE.Photino.csproj", "{DFF170D9-D92E-4DB7-83B5-19640EAF79D2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -23,5 +25,11 @@ Global {DA9F0293-3CFC-4F21-AB74-CF1A069D807C}.ExportDebug|Any CPU.Build.0 = Debug|Any CPU {DA9F0293-3CFC-4F21-AB74-CF1A069D807C}.ExportRelease|Any CPU.ActiveCfg = Debug|Any CPU {DA9F0293-3CFC-4F21-AB74-CF1A069D807C}.ExportRelease|Any CPU.Build.0 = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.ExportDebug|Any CPU.ActiveCfg = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.ExportDebug|Any CPU.Build.0 = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.ExportRelease|Any CPU.ActiveCfg = Debug|Any CPU + {DFF170D9-D92E-4DB7-83B5-19640EAF79D2}.ExportRelease|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection EndGlobal diff --git a/src/SharpIDE.Godot/project.godot b/src/SharpIDE.Godot/project.godot index 76fe94c..494dd18 100644 --- a/src/SharpIDE.Godot/project.godot +++ b/src/SharpIDE.Godot/project.godot @@ -12,7 +12,7 @@ config_version=5 config/name="SharpIDE.Godot" run/main_scene="uid://b2oniigcp5ew5" -config/features=PackedStringArray("4.4", "Forward Plus") +config/features=PackedStringArray("4.4", "C#", "Forward Plus") run/max_fps=157 run/low_processor_mode=true config/icon="res://icon.svg"