diff --git a/src/qt/treectrl.cpp b/src/qt/treectrl.cpp index 27c17b5c15..b21b0e8e03 100644 --- a/src/qt/treectrl.cpp +++ b/src/qt/treectrl.cpp @@ -222,7 +222,8 @@ protected: const wxImageList *imageList = GetHandler()->GetImageList(); const wxBitmap bitmap = imageList->GetBitmap(imageIndex); const QRect rect = visualRect(index); - painter->drawPixmap(rect.topLeft(), *bitmap.GetHandle()); + const int offset = (rect.height() / 2) - (bitmap.GetHeight() / 2); + painter->drawPixmap(rect.topLeft() + QPoint(0,offset), *bitmap.GetHandle()); } }