Index: src/completion/expandingtree/expandingtree.cpp =================================================================== --- src/completion/expandingtree/expandingtree.cpp +++ src/completion/expandingtree/expandingtree.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include #include "katepartdebug.h" @@ -31,6 +32,7 @@ { m_drawText.documentLayout()->setPaintDevice(this); setUniformRowHeights(false); + header()->setMinimumSectionSize(0); } void ExpandingTree::drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const