<table><tr><td style="">rkflx created this revision.<br />rkflx added a reviewer: Frameworks.<br />Restricted Application added a project: Frameworks.<br />rkflx 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/D12594">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Since the redesign of the file dialog for KDE4, the left edges of the<br />
line edits below the icon view were supposed to be aligned to the left<br />
edge of the icon view, while in KDE3 the naming labels were aligned<br />
instead.</p>
<p>However, in practice that never worked out perfectly, there was always a<br />
small displacement. While hardly noticable in KDE4's widget styles, in<br />
particular for Breeze in KF5 with its small splitter handle width and<br />
larger layout spacing this became much more annoying to look at.</p>
<p>This can be fixed by taking the splitter handle width as well as the<br />
grid layout spacing into account. While the patch seems straightforward,<br />
making the patch work with all styles was actually suprisingly<br />
difficult, not only because of the bug in the dependent patch.</p>
<p>Depends on <a href="https://phabricator.kde.org/D12592" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12592</a></p>
<p>Ref <a href="https://phabricator.kde.org/T8552" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">T8552</a></p>
<p>FIXED-IN: 5.46</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">kdialog --getopenfilename</tt>, check alignment with <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">KMag</span></span></span> for<br />
different widget styles (e.g. Breeze, Oxygen, Windows and Fusion) after<br />
startup, and after moving the splitter, resizing the dialog and toggling<br />
the places panel.</p>
<p>Before:<br />
<a href="https://phabricator.kde.org/F5826739" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F5826739: KIO-alignment-before.png</a></p>
<p>After:<br />
<a href="https://phabricator.kde.org/F5826740" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F5826740: KIO-alignment-after.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-alignment (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12594">https://phabricator.kde.org/D12594</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filewidgets/kfilewidget.cpp</div></div></div><br /><div><strong>To: </strong>rkflx, Frameworks<br /><strong>Cc: </strong>michaelh, bruns<br /></div>