From 0c851ed81a12a56551209184558ac1e4eccc49b5 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Wed, 20 Nov 2024 13:44:34 +0100 Subject: [PATCH] fix #LINQT-1432 progress bar text --- Linphone/view/Control/Display/ProgressBar.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Linphone/view/Control/Display/ProgressBar.qml b/Linphone/view/Control/Display/ProgressBar.qml index 8ac97790..7616b301 100644 --- a/Linphone/view/Control/Display/ProgressBar.qml +++ b/Linphone/view/Control/Display/ProgressBar.qml @@ -19,6 +19,10 @@ ProgressBar { TextMetrics{ id: textSize text: mainItem.innerText + font { + pixelSize: 10 * DefaultStyle.dp + weight: 700 * DefaultStyle.dp + } } background: Rectangle { @@ -45,6 +49,7 @@ ProgressBar { pixelSize: 10 * DefaultStyle.dp weight: 700 * DefaultStyle.dp } + width: textSize.advanceWidth } } }