From cd20b706e072042af863446e6ed356154e3e0854 Mon Sep 17 00:00:00 2001 From: Lemmy Date: Sat, 17 Jan 2026 00:33:52 -0500 Subject: [PATCH] OSD: better looking OSD media --- Modules/OSD/OSD.qml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index 34598e84b..f822ac211 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -650,11 +650,10 @@ Variants { text: root.getDisplayPercentage() color: Color.mOnSurface pointSize: Style.fontSizeS - family: Settings.data.ui.fontFixed font.weight: Style.fontWeightRegular + horizontalAlignment: Text.AlignLeft elide: Text.ElideRight Layout.fillWidth: true - horizontalAlignment: Text.AlignHCenter Layout.alignment: Qt.AlignVCenter } @@ -792,15 +791,14 @@ Variants { text: root.getDisplayPercentage() color: Color.mOnSurface pointSize: Style.fontSizeXS - family: Settings.data.ui.fontFixed font.weight: Style.fontWeightRegular - Layout.fillWidth: true - Layout.alignment: Qt.AlignHCenter - horizontalAlignment: Text.AlignHCenter + horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignVCenter - Layout.preferredHeight: Math.round(20 * Style.uiScaleRatio) elide: Text.ElideRight wrapMode: Text.WrapAtWordBoundaryOrAnywhere + Layout.fillWidth: true + Layout.alignment: Qt.AlignHCenter + Layout.preferredHeight: Math.round(20 * Style.uiScaleRatio) } Item {