D9766: Use at least the requested width for the argument hint tree
Milian Wolff
noreply at phabricator.kde.org
Tue Jan 9 16:12:14 UTC 2018
mwolff created this revision.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added a subscriber: Frameworks.
mwolff requested review of this revision.
REVISION SUMMARY
This ensures the code completion tree and the argument hint tree have
the same width in the usual case. In abnormal cases the argument hint
tree could become larger, but in practice this doesn't happen as most
hints are also valid completion items in turn, thus show up there
too and are properly accounted for in the requested width.
Additionally ensure the geomtries stay in sync, when the completion
list is moved or resized.
Without this patch, the argument hint list is often narrower than the
completion list, which looks odd I think.
REPOSITORY
R39 KTextEditor
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D9766
AFFECTED FILES
src/completion/kateargumenthinttree.cpp
src/completion/katecompletionwidget.cpp
src/completion/katecompletionwidget.h
To: mwolff
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/20180109/7a89f30a/attachment.html>
More information about the Kde-frameworks-devel
mailing list