D15625: Sublime: Fix crash caused when all tool view items are small
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Sep 24 13:04:29 BST 2018
kossebau added a comment.
In D15625#331064 <https://phabricator.kde.org/D15625#331064>, @rjvbb wrote:
> > How exactly is maximumWidth calculated to be 0?
>
> How would I know?
What are the values of rect.width(), buttonSpacing and _items.size() in this calculation?
`const int maximumWidth = (rect.width() - buttonSpacing * (_items.size() - 1)) / _items.size();`
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D15625
To: amhndu, #kdevelop, kossebau, rjvbb
Cc: kossebau, rjvbb, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180924/807af8d3/attachment.html>
More information about the KDevelop-devel
mailing list