<table><tr><td style="">amhndu 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/D15625">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>If I may: can someone please tell me why it should be impossible that only small items are found, IOW why there would also have to be something to shrink?</p></blockquote>
<p>Ideally, <tt style="background: #ebebeb; font-size: 13px;">Layout::sizeHint</tt> should tell us the total space the buttons would occupy (given that it sums up the button size hints), comparing that to the <tt style="background: #ebebeb; font-size: 13px;">rect</tt> should make it make it possible to predict.<br />
I've been assuming if the buttons were to all fit, <tt style="background: #ebebeb; font-size: 13px;">rect.height()</tt> should be equal to <tt style="background: #ebebeb; font-size: 13px;">sizeHint().height()</tt></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15625">https://phabricator.kde.org/D15625</a></div></div><br /><div><strong>To: </strong>amhndu, KDevelop, kossebau, rjvbb<br /><strong>Cc: </strong>kossebau, rjvbb, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>