<table><tr><td style="">kmaterka 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/D27958">View Revision</a></tr></table><br /><div><div><p>I don't like how icon size and item size (container = icon + padding) are calculated and used... Firstly best icons size is calculated, but then padding are added. This combined size is used as item size (container size):</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">SNI icons are rounded to nearest icon size (implicitly, because PlasmaCore.IconItem is used)</li>
<li class="remarkup-list-item">Plasmoids are scaled to the size of the container, I don't know exactly how it work, probably because default compact representation is just an icon.</li>
</ul>
<p>By happy coincident it is (?) working correctly for all sizes.</p>
<p>There is also a lot of anchoring involved, all items are aligned to left (which looks bad with expander arrow, gap is bigger) etc. But all of this can be fixed in separate patch.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27958">https://phabricator.kde.org/D27958</a></div></div><br /><div><strong>To: </strong>kmaterka, Plasma: Workspaces, Plasma, ngraham, broulik<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>