<table><tr><td style="">mwolff created this revision.<br />Restricted Application added projects: Kate, Frameworks.<br />Restricted Application added a subscriber: Frameworks.<br />mwolff requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9766" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This ensures the code completion tree and the argument hint tree have<br />
the same width in the usual case. In abnormal cases the argument hint<br />
tree could become larger, but in practice this doesn't happen as most<br />
hints are also valid completion items in turn, thus show up there<br />
too and are properly accounted for in the requested width.</p>

<p>Additionally ensure the geomtries stay in sync, when the completion<br />
list is moved or resized.</p>

<p>Without this patch, the argument hint list is often narrower than the<br />
completion list, which looks odd I think.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9766" rel="noreferrer">https://phabricator.kde.org/D9766</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/completion/kateargumenthinttree.cpp<br />
src/completion/katecompletionwidget.cpp<br />
src/completion/katecompletionwidget.h</div></div></div><br /><div><strong>To: </strong>mwolff<br /><strong>Cc: </strong>Frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann<br /></div>