<?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[Form layout]]></title><description><![CDATA[<p dir="auto">I have a form which has 5 rows of various inputs, I'm using a <strong>QGridLayout</strong> for the main layout, there are two additional <strong>QTableViews</strong> at the bottom of the form which are populated according to the selections of the 5 input rows above.</p>
<p dir="auto">Initially when the input rows are not populated I hide the table views, this causes the 5 rows to spread out to fill the vertical space.</p>
<p dir="auto">Is there a way to maintain the positions of the 5 rows at the top of the form as if the table views were present?</p>
]]></description><link>https://forum.qt.io/topic/127376/form-layout</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 01:04:17 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/127376.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jun 2021 07:14:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Form layout on Tue, 08 Jun 2021 07:44:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/splatten">@<bdi>SPlatten</bdi></a> Add a vertical layout, add your form layout to it and then the spacer...</p>
]]></description><link>https://forum.qt.io/post/663949</link><guid isPermaLink="true">https://forum.qt.io/post/663949</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 08 Jun 2021 07:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to Form layout on Tue, 08 Jun 2021 07:42:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> , thank you, I've read similar suggestions in other posts, however one of the solutions states not to put the spacer into the layout but outside of the layout.  The layout is set-up with:</p>
<pre><code>setLayout(pgrdLayout);
</code></pre>
<p dir="auto">How would I add the spacer outside of the layout ?</p>
]]></description><link>https://forum.qt.io/post/663948</link><guid isPermaLink="true">https://forum.qt.io/post/663948</guid><dc:creator><![CDATA[SPlatten]]></dc:creator><pubDate>Tue, 08 Jun 2021 07:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to Form layout on Tue, 08 Jun 2021 07:29:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/splatten">@<bdi>SPlatten</bdi></a> Add a vertical spacer</p>
]]></description><link>https://forum.qt.io/post/663945</link><guid isPermaLink="true">https://forum.qt.io/post/663945</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 08 Jun 2021 07:29:46 GMT</pubDate></item></channel></rss>