<?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[Label&#x27;s position changes when showing additional button]]></title><description><![CDATA[<p dir="auto">I have a gui like this:<br />
<img src="https://ddgobkiprc33d.cloudfront.net/10175fe0-56f9-4c98-8ecc-4cab2bb2da19.png" alt="f4614b60-bddf-47c4-ba4d-602ca65320c6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The pushbutton is sometimes visible sometimes not through program. I want to show my middle vertical layout always at middle(center). How can i do that? When there is no pushbutton visible in program, its in center. When pushbutton show up, it goes a little bit left.</p>
]]></description><link>https://forum.qt.io/topic/142478/label-s-position-changes-when-showing-additional-button</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 07:54:30 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142478.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Jan 2023 08:30:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Label&#x27;s position changes when showing additional button on Fri, 27 Jan 2023 13:55:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Try to use three layouts<br />
one for the textlabel on the left<br />
one for the middle texts<br />
one for the button and the label on the right</p>
<p dir="auto">the size of three layouts are always equal.</p>
<p dir="auto">[EDIT] Works in Designer, but not on preview and on launch :(<br />
I think the easy way is to replace the hidden button by a QWidget of the same size.</p>
]]></description><link>https://forum.qt.io/post/745402</link><guid isPermaLink="true">https://forum.qt.io/post/745402</guid><dc:creator><![CDATA[mpergand]]></dc:creator><pubDate>Fri, 27 Jan 2023 13:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to Label&#x27;s position changes when showing additional button on Wed, 08 Feb 2023 09:35:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpergand">@<bdi>mpergand</bdi></a> Hey I tried it and it works perfect with 3 layouts.Now middle labels always at center.</p>
]]></description><link>https://forum.qt.io/post/746643</link><guid isPermaLink="true">https://forum.qt.io/post/746643</guid><dc:creator><![CDATA[masa4]]></dc:creator><pubDate>Wed, 08 Feb 2023 09:35:36 GMT</pubDate></item><item><title><![CDATA[Reply to Label&#x27;s position changes when showing additional button on Wed, 01 Feb 2023 07:10:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpergand">@<bdi>mpergand</bdi></a> Thanks for effort and advice. If I cant find any other option I will do it in this way</p>
]]></description><link>https://forum.qt.io/post/745789</link><guid isPermaLink="true">https://forum.qt.io/post/745789</guid><dc:creator><![CDATA[masa4]]></dc:creator><pubDate>Wed, 01 Feb 2023 07:10:30 GMT</pubDate></item><item><title><![CDATA[Reply to Label&#x27;s position changes when showing additional button on Fri, 27 Jan 2023 13:55:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Try to use three layouts<br />
one for the textlabel on the left<br />
one for the middle texts<br />
one for the button and the label on the right</p>
<p dir="auto">the size of three layouts are always equal.</p>
<p dir="auto">[EDIT] Works in Designer, but not on preview and on launch :(<br />
I think the easy way is to replace the hidden button by a QWidget of the same size.</p>
]]></description><link>https://forum.qt.io/post/745402</link><guid isPermaLink="true">https://forum.qt.io/post/745402</guid><dc:creator><![CDATA[mpergand]]></dc:creator><pubDate>Fri, 27 Jan 2023 13:55:52 GMT</pubDate></item></channel></rss>