_x11 child tooltip fixes progress

This commit is contained in:
2024-12-28 19:41:06 +02:00
parent ac0ce8fa74
commit 089346b296
5 changed files with 95 additions and 35 deletions

View File

@@ -206,6 +206,7 @@ namespace FlaxEditor.GUI.ContextMenu
// Create window
var desc = CreateWindowSettings.Default;
desc.Position = locationSS;
Editor.Log($"contextmenu loc: {locationSS}, in parentloc: {location}");
desc.StartPosition = WindowStartPosition.Manual;
desc.Size = dpiSize;
desc.Fullscreen = false;
@@ -220,6 +221,7 @@ namespace FlaxEditor.GUI.ContextMenu
desc.IsTopmost = true;
desc.Type = WindowType.Popup;
desc.Parent = parentWin.Window;
desc.Title = "ContextMenu";
desc.HasSizingFrame = false;
OnWindowCreating(ref desc);
_window = Platform.CreateWindow(ref desc);