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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/filelight/commit/2480
                   |                            |30dbdfcfae9ff493a443808af33
                   |                            |4a88174cd
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Harald Sitter <sit...@kde.org> ---
Git commit 248030dbdfcfae9ff493a443808af334a88174cd by Harald Sitter.
Committed on 26/04/2022 at 19:45.
Pushed by sitter into branch 'master'.

correctly calculate fontmetrics

- use the fontmetrics of the target label not the application (makes no
difference but is practically more correct)
- use horizontalAdvance instead of boundingrect width. the latter is
relative to the rect coordinates and as such not nearly as straight
forward to use. horizontaladvance is the actual width the text will
occupy, it's what we intend to know here

M  +2    -2    src/radialMap/item.cpp

https://invent.kde.org/utilities/filelight/commit/248030dbdfcfae9ff493a443808af334a88174cd

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

Reply via email to