<table><tr><td style="">mkoller created this revision.<br />mkoller added a reviewer: mlaurent.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />mkoller requested review of this revision.
</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/D28380">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I have the problem that on every start of kmail, the first column gets a pixel more than before, leading to my "date" column becoming smaller and smaller.</p>

<p>To fix this, it seems to be enough to ensure that when the columns take their sizes from the widget, to keep the fractional part of the column widths.<br />
E.g. after the auto-calculation of the widths a column might have 100.3 pixels in width, however the .3 fractional part is lost when the column width is taken from the widget since the widget only stores int values.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Started kmail several times and checked via kruler and kmag that the columns kept their size exactly</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R94 PIM: Message Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28380">https://phabricator.kde.org/D28380</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>view.cpp</div></div></div><br /><div><strong>To: </strong>mkoller, mlaurent<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>