<table><tr><td style="">ngraham 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/D12149">View Revision</a></tr></table><br /><div><div><p>FWIW I wrestled with the issue prior to submitting the patch, but couldn't come up with anything better. The issue here that we really do need a minimum width of <em>at least</em> 110px or else there's simply never enough room for titles with small icons, but there's a lack of granularity in the provided icon sizes for large values: <tt style="background: #ebebeb; font-size: 13px;">KIconLoader::SizeEnormous</tt> is 128px--which is just a bit too big--but the next-smallest size is <tt style="background: #ebebeb; font-size: 13px;">KIconLoader::SizeHuge</tt>--which is only 64px and not big enough.</p>
<p>I'm not sure it would be worth it to try to programmatically calculate something in between (e.g. <tt style="background: #ebebeb; font-size: 13px;">ceil(KIconLoader::SizeEnormous * 0.85)</tt> because that would just be using a <em>different</em> magic value.</p>
<p>FWIW, the existing code had a magic value for the width too: height * 1.5. Maybe we can live with the different 120px magic value here?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</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>To: </strong>ngraham, Frameworks, VDG, rkflx<br /><strong>Cc: </strong>alexeymin, michaelh, ngraham, bruns<br /></div>