<?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[QLabel alignment]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have created a program where I add QLabels dynamically into a horizontal layout as:</p>
<pre><code> ui-&gt;horizontalLayout_2-&gt;insertWidget(i,ReactiveLabels[ReactiveLabels.size()-1]);
</code></pre>
<p dir="auto">My problem is that QLabels are added in left from previous Label ,<br />
How can I create the new QLabel in right from initial (or previous) QLabel?</p>
<p dir="auto">Thank you very much in advance</p>
]]></description><link>https://forum.qt.io/topic/106746/qlabel-alignment</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 12:16:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/106746.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Sep 2019 15:55:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QLabel alignment on Fri, 20 Sep 2019 14:20:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>sgaist</bdi></a><br />
Thank you, it is solved by using addWidget.</p>
]]></description><link>https://forum.qt.io/post/552135</link><guid isPermaLink="true">https://forum.qt.io/post/552135</guid><dc:creator><![CDATA[jss193]]></dc:creator><pubDate>Fri, 20 Sep 2019 14:20:02 GMT</pubDate></item><item><title><![CDATA[Reply to QLabel alignment on Sat, 14 Sep 2019 17:13:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Then why not just use addWidget ?</p>
]]></description><link>https://forum.qt.io/post/551106</link><guid isPermaLink="true">https://forum.qt.io/post/551106</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 14 Sep 2019 17:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to QLabel alignment on Sat, 14 Sep 2019 15:21:18 GMT]]></title><description><![CDATA[<p dir="auto">The value is 1, if I change it to 0 the QLabels generated still added left not right side respect the previous QLabel generated.</p>
]]></description><link>https://forum.qt.io/post/551080</link><guid isPermaLink="true">https://forum.qt.io/post/551080</guid><dc:creator><![CDATA[jss193]]></dc:creator><pubDate>Sat, 14 Sep 2019 15:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to QLabel alignment on Tue, 10 Sep 2019 17:20:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jss193">@<bdi>jss193</bdi></a><br />
Depends on what the value of your <code>i</code> is.</p>
]]></description><link>https://forum.qt.io/post/550386</link><guid isPermaLink="true">https://forum.qt.io/post/550386</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 10 Sep 2019 17:20:41 GMT</pubDate></item></channel></rss>