From 91d248a8bbfb0deae1d9024c76cb05c8ef8dcf8e Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Fri, 7 Nov 2025 15:04:35 +0100 Subject: [PATCH] OSD: fix layout --- Modules/OSD/OSD.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index a0449aa4..3bf1076c 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -299,6 +299,8 @@ Variants { radius: Math.round(panel.barThickness / 2) color: Color.mSurfaceVariant Layout.alignment: Qt.AlignVCenter + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width * 0.6 Rectangle { anchors.left: parent.left @@ -333,6 +335,8 @@ Variants { horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter Layout.preferredWidth: Math.round(50 * Style.uiScaleRatio) + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: 0 } } }