diff --git a/src/SharpIDE.Godot/Features/Run/Resources/Play.png b/src/SharpIDE.Godot/Features/Run/Resources/Play.png deleted file mode 100644 index 586fd8d..0000000 Binary files a/src/SharpIDE.Godot/Features/Run/Resources/Play.png and /dev/null differ diff --git a/src/SharpIDE.Godot/Features/Run/Resources/Run.svg b/src/SharpIDE.Godot/Features/Run/Resources/Run.svg new file mode 100644 index 0000000..1855e69 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Run/Resources/Run.svg @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/src/SharpIDE.Godot/Features/Run/Resources/Play.png.import b/src/SharpIDE.Godot/Features/Run/Resources/Run.svg.import similarity index 61% rename from src/SharpIDE.Godot/Features/Run/Resources/Play.png.import rename to src/SharpIDE.Godot/Features/Run/Resources/Run.svg.import index 08a5766..c6296d8 100644 --- a/src/SharpIDE.Godot/Features/Run/Resources/Play.png.import +++ b/src/SharpIDE.Godot/Features/Run/Resources/Run.svg.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bnprs1lvjyaji" -path="res://.godot/imported/Play.png-3438a21a8b920e7517d04626c592e8b6.ctex" +uid="uid://bkty6563cthj8" +path="res://.godot/imported/Run.svg-f5b6792112cbc60e88eb175c5d9ea25d.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://Features/Run/Resources/Play.png" -dest_files=["res://.godot/imported/Play.png-3438a21a8b920e7517d04626c592e8b6.ctex"] +source_file="res://Features/Run/Resources/Run.svg" +dest_files=["res://.godot/imported/Run.svg-f5b6792112cbc60e88eb175c5d9ea25d.ctex"] [params] @@ -32,3 +32,6 @@ process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/src/SharpIDE.Godot/Features/Run/RunMenuItem.tscn b/src/SharpIDE.Godot/Features/Run/RunMenuItem.tscn index e6dac83..9e31e81 100644 --- a/src/SharpIDE.Godot/Features/Run/RunMenuItem.tscn +++ b/src/SharpIDE.Godot/Features/Run/RunMenuItem.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://d2ewm2lajutpv"] [ext_resource type="Script" uid="uid://btsnapfx0dlbb" path="res://Features/Run/RunMenuItem.cs" id="1_syj0f"] -[ext_resource type="Texture2D" uid="uid://bnprs1lvjyaji" path="res://Features/Run/Resources/Play.png" id="1_xfxpu"] +[ext_resource type="Texture2D" uid="uid://bkty6563cthj8" path="res://Features/Run/Resources/Run.svg" id="2_hxkig"] [ext_resource type="Texture2D" uid="uid://csj1r7s3u10ch" path="res://Features/Run/Resources/Stop.png" id="4_cd138"] [node name="RunMenuItem" type="HBoxContainer"] @@ -19,9 +19,11 @@ size_flags_horizontal = 3 [node name="RunButton" type="Button" parent="."] layout_mode = 2 -icon = ExtResource("1_xfxpu") +size_flags_vertical = 4 +icon = ExtResource("2_hxkig") [node name="StopButton" type="Button" parent="."] visible = false layout_mode = 2 +size_flags_vertical = 4 icon = ExtResource("4_cd138") diff --git a/src/SharpIDE.Godot/IdeRoot.tscn b/src/SharpIDE.Godot/IdeRoot.tscn index 3cf3854..fa204b9 100644 --- a/src/SharpIDE.Godot/IdeRoot.tscn +++ b/src/SharpIDE.Godot/IdeRoot.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=8 format=3 uid="uid://b2oniigcp5ew5"] [ext_resource type="Script" uid="uid://bavypuy7b375x" path="res://IdeRoot.cs" id="1_whawi"] -[ext_resource type="Texture2D" uid="uid://bnprs1lvjyaji" path="res://Features/Run/Resources/Play.png" id="2_8x8ub"] +[ext_resource type="Texture2D" uid="uid://bkty6563cthj8" path="res://Features/Run/Resources/Run.svg" id="2_8x8ub"] [ext_resource type="Script" uid="uid://du2lt7r1p1qfy" path="res://SharpIdeCodeEdit.cs" id="2_qjf5e"] [ext_resource type="FontFile" uid="uid://7jc0nj310cu6" path="res://CascadiaCode.ttf" id="2_rk34b"] [ext_resource type="Script" uid="uid://bai53k7ongbxw" path="res://SolutionExplorerPanel.cs" id="2_tcy02"] @@ -39,12 +39,15 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +offset_left = 5.0 +offset_right = -5.0 grow_horizontal = 2 grow_vertical = 2 [node name="OpenSlnButton" type="Button" parent="VBoxContainer/Panel/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 +size_flags_vertical = 4 text = "Open Sln" [node name="Spacer" type="Control" parent="VBoxContainer/Panel/HBoxContainer"] @@ -54,6 +57,7 @@ size_flags_horizontal = 3 [node name="RunMenuButton" type="Button" parent="VBoxContainer/Panel/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 +size_flags_vertical = 4 focus_mode = 0 disabled = true icon = ExtResource("2_8x8ub")