<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Making window as compact as possible?]]></title><description><![CDATA[<p dir="auto">Hello, is there an option somewhere that makes a QMainWindow as compact as possible? I created a window that always uses more space that it needs to, and I was wondering if Qt could handle the minimization of the window for me.</p>
<p dir="auto">Thanks a lot!</p>
]]></description><link>https://forum.qt.io/topic/63052/making-window-as-compact-as-possible</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 04:40:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/63052.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Jan 2016 17:59:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Making window as compact as possible? on Wed, 20 Jan 2016 20:35:07 GMT]]></title><description><![CDATA[<p dir="auto">Perfect, thanks again!</p>
]]></description><link>https://forum.qt.io/post/308533</link><guid isPermaLink="true">https://forum.qt.io/post/308533</guid><dc:creator><![CDATA[Pippin]]></dc:creator><pubDate>Wed, 20 Jan 2016 20:35:07 GMT</pubDate></item><item><title><![CDATA[Reply to Making window as compact as possible? on Wed, 20 Jan 2016 20:16:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pippin">@<bdi>Pippin</bdi></a></p>
<pre><code>mainWindow-&gt;resize( mainWindow-&gt;layout()-&gt;minimumSize() );
</code></pre>
]]></description><link>https://forum.qt.io/post/308519</link><guid isPermaLink="true">https://forum.qt.io/post/308519</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Wed, 20 Jan 2016 20:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to Making window as compact as possible? on Wed, 20 Jan 2016 18:54:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
If u use layouts, then settings size<br />
of mainwindow will make it as small as possible.<br />
So what you expect such minimization to do?</p>
]]></description><link>https://forum.qt.io/post/308492</link><guid isPermaLink="true">https://forum.qt.io/post/308492</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Wed, 20 Jan 2016 18:54:58 GMT</pubDate></item></channel></rss>