https://bugs.kde.org/show_bug.cgi?id=520659

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/5a12f68
                   |                            |da1292fd238891c8aada3cc03ef
                   |                            |c1fc2d
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Méven <[email protected]> ---
Git commit 5a12f68da1292fd238891c8aada3cc03efc1fc2d by Méven Car, on behalf of
John Doe.
Committed on 12/06/2026 at 08:43.
Pushed by meven into branch 'master'.

widgets/kfileitem: center small icons in grid view

Previously, KFileItemDelegate ignored the displayAlignment option
and hardcoded the drawing of the thumbnail to the top-left corner
of the grid cell. This caused small previews to sit completely
off-center.

This calculates the actual pixmap size and adds an X/Y offset to
properly center the icon within the allocated decoration size.

M  +10   -1    src/widgets/kfileitemdelegate.cpp

https://invent.kde.org/frameworks/kio/-/commit/5a12f68da1292fd238891c8aada3cc03efc1fc2d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to