D28380: make column sizes more stable
Daniel Vrátil
noreply at phabricator.kde.org
Sat May 2 22:40:59 BST 2020
dvratil added subscribers: dfaure, dvratil.
dvratil added a reviewer: dfaure.
dvratil added a comment.
I think @dfaure has touched exactly on this issue before.
INLINE COMMENTS
> view.cpp:607
> col->setCurrentlyVisible(true);
> - col->setCurrentWidth(header()->sectionSize(idx));
> + double fraction = col->currentWidth() - static_cast<int>(col->currentWidth());
> + col->setCurrentWidth(header()->sectionSize(idx) + fraction); // ensure to keep fractional column width
Make it `const double`, please
REPOSITORY
R94 PIM: Message Library
REVISION DETAIL
https://phabricator.kde.org/D28380
To: mkoller, mlaurent, dfaure
Cc: dvratil, dfaure, kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200502/3037ab20/attachment.html>
More information about the kde-pim
mailing list