Skip to content
Commit 94b2c3d1 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

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.

BUG: 469576
(cherry picked from commit 9737efa7)
parent e969b865
Pipeline #450474 passed with stage
in 9 minutes and 18 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment