<?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 a qttreeview resize with the qdialog]]></title><description><![CDATA[<p dir="auto">Hi All,<br />
went back to working on some old code.  On one dialog I have a single treeview.  However try as I might I can't get the tree to expand with the dialog.  I also have several other dialogs in the software with treeviews and these work fine.  The only difference I can see is in the expanding ones "geometry"  is greyed out on the treeview. But I can't workout what I've done to achieve this.<br />
Can anyone advise what I need to do to get this to work? Thanks</p>
]]></description><link>https://forum.qt.io/topic/89412/making-a-qttreeview-resize-with-the-qdialog</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 15:55:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/89412.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 Mar 2018 09:41:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Making a qttreeview resize with the qdialog on Sat, 31 Mar 2018 10:42:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> Thankyou it was layout.  I searched every parameter but didn't notice that had a no entry sign</p>
]]></description><link>https://forum.qt.io/post/450558</link><guid isPermaLink="true">https://forum.qt.io/post/450558</guid><dc:creator><![CDATA[tony67]]></dc:creator><pubDate>Sat, 31 Mar 2018 10:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to Making a qttreeview resize with the qdialog on Sat, 31 Mar 2018 09:54:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Since geometry is grey out, it sounds like you used a layout for the working ones.<br />
If the one not working has free/non grey "geometry ", its not in layout<br />
and that is the reason.</p>
<p dir="auto">Normally, a layout is all that is needed. (to follow parent)</p>
<p dir="auto">To make one that follow, its simply<br />
Create a new Dialog with UI.<br />
Click on UI file<br />
Drag TreeView to Dialog UI<br />
Right click somewhere on Dialog UI<br />
Select Layout -&gt; Layout vertically<br />
Then TreeView should follow.</p>
]]></description><link>https://forum.qt.io/post/450548</link><guid isPermaLink="true">https://forum.qt.io/post/450548</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sat, 31 Mar 2018 09:54:23 GMT</pubDate></item></channel></rss>