Skip to content
Commit 9737efa7 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
parent c812d6b7
Pipeline #450463 passed with stage
in 19 minutes and 59 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