<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Frameworks, VDG, rkflx.<br />Restricted Application added a project: Frameworks.<br />ngraham 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/D12149">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch improves the grid spacing in icons-on-top mode by making it looser for small icons (which gives the labels more space) and tighter for large icons (which allows more to be seen at once)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested with a new user account and default settings. Open Gwenview, Choose <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">File</span></span><span style="color: #92969D;"> → </span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Open</span></span></span>, then <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Settings button</span></span><span style="color: #92969D;"> → </span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Icon Position</span></span><span style="color: #92969D;"> → </span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Above file name</span></span></span></p>

<p>Before, default tiny icons:</p>

<p>After, default tiny icons:</p>

<p>Before: large icons:</p>

<p>After: large icons:</p>

<p>Before: huge icons:</p>

<p>After, huge icons:</p>

<p>Before, resizing:</p>

<p>After: resizing:</p>

<p>Note: the default dialog size is 2 pixels too narrow to properly accomodate an additional row of icons at their largest size both with and without this patch. I'll be submitting another patch to improve that.</p>

<p>No change for any other view modes</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>tighter-grid-in-icons-view (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12149">https://phabricator.kde.org/D12149</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filewidgets/kdiroperator.cpp</div></div></div><br /><div><strong>To: </strong>ngraham, Frameworks, VDG, rkflx<br /><strong>Cc: </strong>michaelh, ngraham, bruns<br /></div>