From 7dcaebe737ab7600dbca9d39c4729915a46b84e5 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sat, 24 May 2025 00:21:17 -0400 Subject: [PATCH] Qt: Use grid layout for audio stretch settings dialog --- .../audiostretchsettingsdialog.ui | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/src/duckstation-qt/audiostretchsettingsdialog.ui b/src/duckstation-qt/audiostretchsettingsdialog.ui index 42d50ffce..3058e3c44 100644 --- a/src/duckstation-qt/audiostretchsettingsdialog.ui +++ b/src/duckstation-qt/audiostretchsettingsdialog.ui @@ -6,14 +6,56 @@ 0 0 - 501 - 248 + 500 + 255 Audio Stretch Settings - + + + + + 10 + + + + + + 32 + 32 + + + + + 32 + 32 + + + + Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + + + + + + + <html><head/><body><p><span style=" font-weight:700;">Audio Stretch Settings</span><br/>These settings fine-tune the behavior of the SoundTouch audio time stretcher when running outside of 100% speed.</p></body></html> + + + Qt::TextFormat::RichText + + + Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + + + true + + + + + @@ -134,55 +176,6 @@ - - - - QDialogButtonBox::StandardButton::Close|QDialogButtonBox::StandardButton::RestoreDefaults - - - - - - - 10 - - - - - - 32 - 32 - - - - - 32 - 32 - - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop - - - - - - - <html><head/><body><p><span style=" font-weight:700;">Audio Stretch Settings</span><br/>These settings fine-tune the behavior of the SoundTouch audio time stretcher when running outside of 100% speed.</p></body></html> - - - Qt::TextFormat::RichText - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop - - - true - - - - - @@ -197,6 +190,13 @@ + + + + QDialogButtonBox::StandardButton::Close|QDialogButtonBox::StandardButton::RestoreDefaults + + +