<?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[Anchoring to Window]]></title><description><![CDATA[<p dir="auto">How do I take a control say... a splitter and anchor it to the sides of the window?</p>
<p dir="auto">So when I resize the window, the items that are in the splitter.. resize accordingly?</p>
<p dir="auto">I see sizePolicy, minimumSize, maximumSize and geometry but not sure which one it is I should be looking at.</p>
]]></description><link>https://forum.qt.io/topic/14928/anchoring-to-window</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 22:04:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/14928.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Mar 2012 22:43:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anchoring to Window on Sat, 17 Mar 2012 17:32:57 GMT]]></title><description><![CDATA[<p dir="auto">Ah figured it out.</p>
<p dir="auto">With MainWindow.ui<br />
Right-click on the main window<br />
Select Layout<br />
I chose 'Lay out in Grid'</p>
<p dir="auto">This anchored my splitter to all 4 corners so when i resize the window, the QTextEdit and QLineEdit resize properly too!</p>
]]></description><link>https://forum.qt.io/post/132785</link><guid isPermaLink="true">https://forum.qt.io/post/132785</guid><dc:creator><![CDATA[OnyxDragun]]></dc:creator><pubDate>Sat, 17 Mar 2012 17:32:57 GMT</pubDate></item><item><title><![CDATA[Reply to Anchoring to Window on Tue, 13 Mar 2012 23:00:21 GMT]]></title><description><![CDATA[<p dir="auto">I have a QTextEdit with a QLineEdit within a Splitter.</p>
<p dir="auto">I want both QTextEdit and QLineEdit to span the width of the client window even if the window is resized.</p>
]]></description><link>https://forum.qt.io/post/132372</link><guid isPermaLink="true">https://forum.qt.io/post/132372</guid><dc:creator><![CDATA[OnyxDragun]]></dc:creator><pubDate>Tue, 13 Mar 2012 23:00:21 GMT</pubDate></item><item><title><![CDATA[Reply to Anchoring to Window on Tue, 13 Mar 2012 22:45:16 GMT]]></title><description><![CDATA[<p dir="auto">Please explain with more datails.</p>
]]></description><link>https://forum.qt.io/post/132370</link><guid isPermaLink="true">https://forum.qt.io/post/132370</guid><dc:creator><![CDATA[msx_br]]></dc:creator><pubDate>Tue, 13 Mar 2012 22:45:16 GMT</pubDate></item></channel></rss>