<?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[QtCreator 5.2.1 and 5.3 wont let QMainWindow object resize smaller]]></title><description><![CDATA[<p dir="auto">I am working with a UI file that is rather large.  It has everything in stacks of layout done properly.  I can easily scale up the entire application but scaling it down to the size I need for the fixed size display I am working with.  Every time I set the QMainWindows' dimensions to what I want, it changes them to something else larger.  I have changed to every optional SizePolicy available and just get different minimum sizes.  Not one Widget in the entire UI file has a MinimumSize property set (I double checked that I had removed them all), and I use SizePolicies of Preferred for just about everything.<br />
Any thoughts on what would force the size of the MainWindow to be some minimum size against my wishes?</p>
]]></description><link>https://forum.qt.io/topic/42707/qtcreator-5-2-1-and-5-3-wont-let-qmainwindow-object-resize-smaller</link><generator>RSS for Node</generator><lastBuildDate>Sun, 03 May 2026 04:20:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/42707.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jun 2014 17:01:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QtCreator 5.2.1 and 5.3 wont let QMainWindow object resize smaller on Thu, 19 Jun 2014 17:58:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi ProfRivkin, I think it would be better if you post a picture of your window and then we can see it more clearly..</p>
<p dir="auto">Anyway, do you want your widgets to be any size by scaling you Window? Or do you want it to have a maximum and a minimum size? If so, try to set a maximum size for them so they won't be any larger and a minimum for the opposite effect. Also, take into consideration that if you are using frames or even some widgets, they have a <em><em>margin</em></em> value that indicates the minimum space between the border of the object and the content itself.. I often set those to 1 (Up, left, down and right) so everything looks smaller.</p>
<p dir="auto">What is happening to you may be because they come at 9 from default, so they can't get any smaller no matter how much you try to scale your window.</p>
]]></description><link>https://forum.qt.io/post/232533</link><guid isPermaLink="true">https://forum.qt.io/post/232533</guid><dc:creator><![CDATA[BlastDV]]></dc:creator><pubDate>Thu, 19 Jun 2014 17:58:17 GMT</pubDate></item></channel></rss>