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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |c35298ff6067f859153959cddfc |b4ea71a8921b8303944f070fddd
                   |f2c16943110bf               |c003e6af32494

--- Comment #10 from Nate Graham <[email protected]> ---
Git commit b4ea71a8921b8303944f070fdddc003e6af32494 by Nate Graham.
Committed on 09/06/2025 at 15:11.
Pushed by ngraham into branch 'Plasma/6.4'.

FolderItemDelegate: use label implicitHeight in frame size calculation

Assuming that a GridUnit was roughly the height of a line of text was
safe before d8510e54f0a79334a11b7215cc3b28fdbe15149b in Kirigami, but
afterwards it no longer is. Now the frame height is wrong when the font
has a substantially different size from that of 10pt Noto Sans.

Fortunately we don't need to do anything super complicated to fix this;
just use the implicitHeight of the label, which ensures that the height
is correct for everything.
FIXED-IN: 6.3.6


(cherry picked from commit c35298ff6067f859153959cddfcf2c16943110bf)

8988e894 FolderItemDelegate: use label implichtHeight in frame size calculation

Co-authored-by: Nate Graham <[email protected]>

M  +1    -1    containments/desktop/package/contents/ui/FolderItemDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/b4ea71a8921b8303944f070fdddc003e6af32494

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

Reply via email to