<?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[Maintaining a consistent width in QBoxLayout]]></title><description><![CDATA[<p dir="auto">I have a QHBoxLayout of 52 QPainter rectangles. I want the layout to be freely (or almost freely) resizable with the one requirement that the rectangles should have the exact same width. Right now, if I choose a size of (for example) 52 * 32 = 1664 pixels with one-pixel separators, some of the individual rectangles end up 30 pixels wide, and others 31. In my program, the effect of this inconsistency is quite noticeable.</p>
]]></description><link>https://forum.qt.io/topic/22964/maintaining-a-consistent-width-in-qboxlayout</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 05:03:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/22964.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jan 2013 21:23:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Maintaining a consistent width in QBoxLayout on Wed, 09 Jan 2013 04:14:35 GMT]]></title><description><![CDATA[<p dir="auto">Ideas, anyone?</p>
]]></description><link>https://forum.qt.io/post/162314</link><guid isPermaLink="true">https://forum.qt.io/post/162314</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 09 Jan 2013 04:14:35 GMT</pubDate></item></channel></rss>