This commit is contained in:
Martin Rotter 2023-06-30 09:00:55 +02:00
parent 649ea75ea8
commit 0cd3d40322

View File

@ -1004,7 +1004,7 @@ void FeedsView::onItemExpandRequested(const QList<RootItem*>& items, bool exp) {
void FeedsView::drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const {
auto opts = options;
opts.decorationAlignment = Qt::AlignmentFlag::AlignLeft;
opts.decorationAlignment = Qt::AlignmentFlag::AlignLeft | Qt::AlignmentFlag::AlignVCenter;
// opts.decorationSize = {options.decorationSize.height(), 70};
BaseTreeView::drawRow(painter, opts, index);