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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/9737efa79440b65db303030f3 |t/94b2c3d1d4a72d70d48751395
                   |4f0039f1c9cd6a0             |4601c2cf723e673

--- Comment #14 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit 94b2c3d1d4a72d70d487513954601c2cf723e673 by Kai Uwe Broulik.
Committed on 01/08/2023 at 21:41.
Pushed by fvogt into branch 'Plasma/5.27'.

OSD: Fix size calculation for progress value

Use a common function for formatting the percent, so placeholder 100% label
will
use the exact formatting used by the label next to the progress bar.

Also use font advanceWidth, which is the appropriate means of calculating the
bounding box of text in this case. Also ceil it to avoid subpixel alignment.

And to be absolutely sure disable word wrapping.
(cherry picked from commit 9737efa79440b65db303030f34f0039f1c9cd6a0)

M  +8    -3    lookandfeel/org.kde.breeze/contents/osd/OsdItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/94b2c3d1d4a72d70d487513954601c2cf723e673

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

Reply via email to