D7787: Set KPageListView width properly
Łukasz Wojniłowicz
noreply at phabricator.kde.org
Tue Sep 12 18:52:08 UTC 2017
wojnilowicz created this revision.
wojnilowicz added a project: Frameworks.
REVISION SUMMARY
sizeHintForIndex returns lower value than sizeHintForColumn and because
of that horizontal scrollbar appears which is unnecessary.
Hardcoded 25 value has been changed to `vertical scrollbar width + 5`
because without 5 horizontal scrollbar still appears.
TEST PLAN
Before patch
F3908663: before patch.png <https://phabricator.kde.org/F3908663>
After patch
F3908665: after patch.png <https://phabricator.kde.org/F3908665>
REPOSITORY
R252 Framework Integration
REVISION DETAIL
https://phabricator.kde.org/D7787
AFFECTED FILES
src/kpageview_p.cpp
To: wojnilowicz, #frameworks
Cc: tbaumgart, #kmymoney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170912/70e92d1d/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list