Commit 1d9fdc90 authored by Allen Winter's avatar Allen Winter

src/iconsidepane.cpp - iconsidepane spacing between icons (for Qt5.9.1)

Differential Revision:
parent e4f80693
......@@ -211,7 +211,11 @@ public:
QStyleOptionViewItem optionCopy(*static_cast<const QStyleOptionViewItem *>(&option));
optionCopy.decorationPosition = QStyleOptionViewItem::Top;
const int height = QFontMetrics(painter->font()).height();
const int height = 0;
= mNavigator->showIcons() ? QSize(mNavigator->iconSize(), mNavigator->iconSize() + height) : QSize();
optionCopy.textElideMode = Qt::ElideNone;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment