Topic: Minimum window size obscures Context menu
Greetings, thanks for this great plugin, I just bought it via the Unity asset store.
Most everything works 100% but I'm noticing an issue with the context menu where the popups are larger than they should be.
After investigating I discovered that this is because something is enforcing a 'minimum window size', ensuring that Unity's windows cannot be shrunk beyond a certain level. Since the Context Menu windows are smaller than this, the minimum is enforced and they do not look good.
I know this because I tested scaling different Unity windows down and none can go smaller than the rendered panels (see the Inspector window in the second screenshot) . I should note that I am using Unity on Linux (I have not tested this elsewhere yet), perhaps it's an operating system issue, but that being said, I am able to minimize other application windows to be smaller than Unity's.
Perhaps Unity is enforcing the minimum window size on Linux or similar, but a workaround is to edit the Context Menu layout logic, particularly:
The Prepare method in Assets/Plugins/Infinity Code/Ultimate Editor Enhancer/Scripts/Editor/Context Menu/EditorMenu.cs (currently line 180 of that file).
To change 'flipHorizontal' and 'flipVertical' to true. After the change, the logic should look like:
private static void Prepare(Vector2 position)
{
Vector2 offset = Vector2.zero;
~ bool flipHorizontal = true;
~ bool flipVertical = true;
This will change the order of the Context Menu windows such that while they still are larger than they should be, they do not overlap (see attached screenshot).
Thanks in advance for investigating this issue and again for the great plugin!