<table><tr><td style="">gvgeo added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27083">View Revision</a></tr></table><br /><div><div><p>I see, so paintedHeight is not exactly perfect above.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>But I don't really understand how this helps anything in a reliable way.<br />
 Layouts will override widths after a layout invalidation. Correctly set anchors would override it.</p></blockquote>

<p>RowLayout, FlowLayout and GridLayout will indeed correct label to integer.</p>

<p>But Row, Flow and Grid do not affect the width, and place the next item with fractional x position. The problem exist in more tests, but is easier to see in checkboxes.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Also, why is only PC2 affected?</p></blockquote>

<p>QtQuick 2 gives label integer size. While QtQuick 1 does not.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27083">https://phabricator.kde.org/D27083</a></div></div><br /><div><strong>To: </strong>gvgeo, Plasma, VDG, ndavis, davidedmundson<br /><strong>Cc: </strong>davidedmundson, kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, michaelh, ZrenBot, ngraham, bruns, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>