diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index 267b7455e94..f2d8e4363e1 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -614,7 +614,13 @@ QSize SelectorDelegate::sizeHint(const QStyleOptionViewItem &option, const QMode auto model = static_cast(index.model()); if (TreeItem *item = model->itemForIndex(index)) { switch (item->level()) { - case 2: s = QSize(s.width(), 3 * s.height()); break; + case 2: + s = QSize(s.width(), 3 * s.height()); + break; + case 3: + case 4: + s = QSize(s.width(), s.height() * 1.2); + break; } } return s;