shrink tooltip to content size

This commit is contained in:
Matt Parker
2025-10-12 18:59:53 +10:00
parent 3af14a4b5c
commit 4b8e8bad7e

View File

@@ -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