<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Minimum window size obscures Context menu]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2066</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2066&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Minimum window size obscures Context menu.]]></description>
		<lastBuildDate>Sun, 04 Dec 2022 15:19:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8769#p8769</link>
			<description><![CDATA[<p>I understand, thank you for your assistance. If I am able to figure out the issue, I&#039;ll post the findings here.</p>]]></description>
			<author><![CDATA[null@example.com (mmorsi)]]></author>
			<pubDate>Sun, 04 Dec 2022 15:19:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8769#p8769</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8768#p8768</link>
			<description><![CDATA[<p>I&#039;ve tried installing Fedora via VMWare Workstation and Oracle VirtualBox, but it doesn&#039;t work stable, and restarts halfway through the Unity installation, and freezes when using the terminal.<br />I&#039;ve tried using Fedora Media Writer, but it doesn&#039;t want to use the full USB disk size (512GB), and only uses 2GB, which is not enough to install Unity.<br />So unfortunately I can&#039;t test the asset on Fedora.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 04 Dec 2022 12:56:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8768#p8768</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8765#p8765</link>
			<description><![CDATA[<p>I&#039;ll try installing Fedora + Unity via VMWare this weekend.<br />I think it will be very entertaining and painful, because:<br />1. My experience with Linux is close to zero.<br />2. Fedora is not on Unity&#039;s required systems list.<br />3. I googled a bit about it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 02 Dec 2022 21:36:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8765#p8765</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8764#p8764</link>
			<description><![CDATA[<p>Interestingly, it doesn&#039;t happen for all windows. See the hierarchy vs inspector title bars for example</p>]]></description>
			<author><![CDATA[null@example.com (mmorsi)]]></author>
			<pubDate>Fri, 02 Dec 2022 18:57:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8764#p8764</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8763#p8763</link>
			<description><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>I just tested the asset in Ubuntu and there is no such problem on my side.<br />Screenshot attached.</p><p>Which Linux are you using and which version of the editor?<br />Are you using any special system settings, such as increasing the font size?</p></blockquote></div><p>Hi Alex, thanks for the quick reply. I am running Fedora 35 and Unity 2022.1.5f1. My desktop is a stock gnome installation from the Fedora repos with no settings or other changes.</p><p>There was a mention of a <a href="https://forum.unity.com/threads/limiting-application-window-size.787961/#post-5246285">minimum window size</a> by unity in 2019, but it&#039;s unclear what that applies to and I can&#039;t find anything else pertaining to it elsewhere online.</p>]]></description>
			<author><![CDATA[null@example.com (mmorsi)]]></author>
			<pubDate>Fri, 02 Dec 2022 18:47:24 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8763#p8763</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8762#p8762</link>
			<description><![CDATA[<p>Hello.</p><p>I just tested the asset in Ubuntu and there is no such problem on my side.<br />Screenshot attached.</p><p>Which Linux are you using and which version of the editor?<br />Are you using any special system settings, such as increasing the font size?</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 02 Dec 2022 17:35:07 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8762#p8762</guid>
		</item>
		<item>
			<title><![CDATA[Re: Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8761#p8761</link>
			<description><![CDATA[<p>This issue also affects other windows, particularily popup window titles (and perhaps others).</p><p><span class="postimg"><img src="https://i.ibb.co/4RMPrBM/Screenshot-from-2022-12-02-10-32-56.png" alt="https://i.ibb.co/4RMPrBM/Screenshot-from-2022-12-02-10-32-56.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (mmorsi)]]></author>
			<pubDate>Fri, 02 Dec 2022 15:35:25 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8761#p8761</guid>
		</item>
		<item>
			<title><![CDATA[Minimum window size obscures Context menu]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8760#p8760</link>
			<description><![CDATA[<p>Greetings, thanks for this great plugin, I just bought it via the Unity asset store.</p><p>Most everything works 100% but I&#039;m noticing an issue with the context menu where the popups are larger than they should be.</p><p><span class="postimg"><img src="https://i.ibb.co/bJbbswX/Screenshot-from-2022-12-02-09-46-44.png" alt="https://i.ibb.co/bJbbswX/Screenshot-from-2022-12-02-09-46-44.png" /></span></p><p>After investigating I discovered that this is because something is enforcing a <strong>&#039;minimum window size&#039;</strong>, ensuring that Unity&#039;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.</p><p>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&#039;s an operating system issue, but that being said, I am able to minimize other application windows to be smaller than Unity&#039;s.</p><p>Perhaps Unity is enforcing the minimum window size on Linux or similar, but a workaround is to edit the Context Menu layout logic, particularly:</p><p>The <strong>Prepare</strong> method in <strong>Assets/Plugins/Infinity Code/Ultimate Editor Enhancer/Scripts/Editor/Context Menu/EditorMenu.cs</strong> (currently line 180 of that file).</p><p>To change &#039;flipHorizontal&#039; and &#039;flipVertical&#039; to true. After the change, the logic should look like:</p><div class="codebox"><pre><code>          private static void Prepare(Vector2 position)
          {   
              Vector2 offset = Vector2.zero;
~             bool flipHorizontal = true;
~             bool flipVertical = true;</code></pre></div><p>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).</p><p>Thanks in advance for investigating this issue and again for the great plugin!</p>]]></description>
			<author><![CDATA[null@example.com (mmorsi)]]></author>
			<pubDate>Fri, 02 Dec 2022 15:09:19 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8760#p8760</guid>
		</item>
	</channel>
</rss>
