Skip to content

Commit 5386a23

Browse files
committed
Show checkboxes in pluginmanager
Fix #12839 Followup be15d95
1 parent 7d7cdcd commit 5386a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/pluginmanager/qgspluginitemdelegate.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void QgsPluginItemDelegate::paint( QPainter *painter, const QStyleOptionViewItem
6969
if ( !iconPixmap.isNull() )
7070
{
7171
int iconSize = pixelsHigh;
72-
painter->drawPixmap( option.rect.left() + 0.2 * pixelsHigh , option.rect.top() + 0.2 * pixelsHigh, iconSize, iconSize, iconPixmap );
72+
painter->drawPixmap( option.rect.left() + 1.2 * pixelsHigh , option.rect.top() + 0.2 * pixelsHigh, iconSize, iconSize, iconPixmap );
7373
}
7474

7575
// Draw the text
@@ -95,7 +95,7 @@ void QgsPluginItemDelegate::paint( QPainter *painter, const QStyleOptionViewItem
9595
font.setBold( true );
9696
painter->setFont( font );
9797
}
98-
painter->drawText( option.rect.left() + pixelsHigh * 1.4, option.rect.bottom() - pixelsHigh * 0.4, index.data( Qt::DisplayRole ).toString() );
98+
painter->drawText( option.rect.left() + pixelsHigh * 2.4, option.rect.bottom() - pixelsHigh * 0.4, index.data( Qt::DisplayRole ).toString() );
9999

100100
painter->restore();
101101
}

0 commit comments

Comments
 (0)