<?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[Autosize children of a QFrame]]></title><description><![CDATA[<p dir="auto">Hi<br />
I have a QFrame that contains some QLabel's.<br />
The width of the frame is set variable based on the content of one of the labels - this works as expected.<br />
The complete frame is animated instead of only shown and hidden, respecting the variable width - works as expected too.</p>
<p dir="auto">Is there a way to automatically extend the width of all child labels of the frame to the same, i.e. the current size the frame gets?<br />
I know I can set this with some lines of codes manually. However, if there is a functionality in Qt that can di this that would be the nicer solution.</p>
<p dir="auto">Thanks<br />
McL</p>
]]></description><link>https://forum.qt.io/topic/83381/autosize-children-of-a-qframe</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 13:39:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/83381.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Sep 2017 09:17:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autosize children of a QFrame on Mon, 18 Sep 2017 12:00:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mclion">@<bdi>McLion</bdi></a> You can use layouts for those labels</p>
]]></description><link>https://forum.qt.io/post/415812</link><guid isPermaLink="true">https://forum.qt.io/post/415812</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 18 Sep 2017 12:00:24 GMT</pubDate></item></channel></rss>