From 4b8e8bad7e502f3c043e5b98842abae15aea1e34 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sun, 12 Oct 2025 18:59:53 +1000 Subject: [PATCH] shrink tooltip to content size --- src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs index 1075811..d35bffc 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs @@ -101,6 +101,7 @@ public partial class SharpIdeCodeEdit : CodeEdit var popupPanel = new PopupPanel(); popupPanel.Unfocusable = true; // may need to change eventually for navigating to other symbols popupPanel.MouseExited += () => popupPanel.QueueFree(); + popupPanel.Size = new Vector2I(1, 1); // set background color var styleBox = new StyleBoxFlat