mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
KStandardItemListWidget: don't double up the expansion offset
This commit is contained in:
parent
c68f1f6f8d
commit
3ce9d1d19e
|
@ -1107,7 +1107,7 @@ void KStandardItemListWidget::updatePixmapCache()
|
|||
0;
|
||||
|
||||
m_pixmapPos.setX(layoutDirection() == Qt::LeftToRight
|
||||
? x - iPadding - width + expansionOffset
|
||||
? x - iPadding - width
|
||||
: size().width() - iPadding - width - expansionOffset);
|
||||
|
||||
// Derive icon's vertical center from the center of the text frame, including
|
||||
|
|
Loading…
Reference in a new issue