D9750: ExpandingWidgetModel: find the right-most column based on location
Milian Wolff
noreply at phabricator.kde.org
Mon Jan 8 23:23:58 UTC 2018
mwolff created this revision.
mwolff added a reviewer: Kate.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added a subscriber: Frameworks.
mwolff requested review of this revision.
REVISION SUMMARY
This fixes the width calculation for the argument hint completion
items. There, the view apparently reorders the column, or hides
some, and thus the last sibling by column number is not actually
the right-most one. In truth, the old algorithm even produced
negative widget values, which prevented the argument hint widgets
from ever being shown. This patch fixes that.
Note: You'll probably need KDevelop to see the effect.
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D9750
AFFECTED FILES
src/completion/expandingtree/expandingwidgetmodel.cpp
To: mwolff, #kate
Cc: #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180108/2ef4096f/attachment.html>
More information about the Kde-frameworks-devel
mailing list