From 829f5e298b96aec9c9d13817b38300b2637e5b03 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Sat, 27 Jul 2024 16:40:50 +0200 Subject: [PATCH] fix ui bug --- .../openhd_settings/ChooseResolutionDialoque.qml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml b/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml index 009eba370..e83c24489 100644 --- a/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml +++ b/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml @@ -158,16 +158,18 @@ Card { } } hasFooter: true - cardFooter: Item { - anchors.fill: parent - RowLayout{ - anchors.fill: parent - - Button{ + cardFooter: + Item { + anchors.horizontalCenter: parent.horizontalCenter + RowLayout { + anchors.horizontalCenter: parent.horizontalCenter // Center the RowLayout horizontally within the parent + spacing: 20 // Add spacing between the buttons (optional) + + Button { Layout.preferredWidth: 150 text: "CANCEL" onPressed: { - close(); + close(); } } Button{