From e55affe2646db0a33887726d3507bb1538b90aea Mon Sep 17 00:00:00 2001 From: Moonlacer Date: Fri, 24 Sep 2021 19:53:09 -0500 Subject: configure_tas: Ensure dialog buttons always stay at the bottom Previously, the dialog buttons would be floating in-place when the dialog is stretched downwards. This change ensures that the dialog buttons always stay at the bottom of the window. --- src/yuzu/configuration/configure_tas.ui | 333 ++++++++++++++++++-------------- 1 file changed, 187 insertions(+), 146 deletions(-) diff --git a/src/yuzu/configuration/configure_tas.ui b/src/yuzu/configuration/configure_tas.ui index 95575ed9d..3972f9083 100644 --- a/src/yuzu/configuration/configure_tas.ui +++ b/src/yuzu/configuration/configure_tas.ui @@ -1,153 +1,194 @@ - ConfigureTas - - - - - - - - TAS - - - - - - Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation please consult the FAQ on the yuzu website. - - - - - - - To check which hotkeys control the playback/recording, please refer to the Hotkey settings (General -> Hotkeys). - - - true - - - - - - - WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. - - - true - - - - - - - - - - - - - - Settings - - - - - - Enable TAS features - - - - - - - Automatic controller profile swapping - - - - - - - Loop script - - - - - - - false - - - Pause execution during loads - - - - - - - - - - - - - - Script Directory - - - - - - Path - - - - - - - ... - - - - - - - - - - - - - - - - 0 - 0 - + ConfigureTas + + + + 0 + 0 + 337 + 316 + + + + + + + + + TAS + + + + + + Reads controller input from scripts in the same format as TAS-nx scripts.<br/>For a more detailed explanation please consult the FAQ on the yuzu website. - - Qt::Horizontal + + + + + + To check which hotkeys control the playback/recording, please refer to the Hotkey settings (General -> Hotkeys). - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + true - - + + + + + + WARNING: This is an experimental feature.<br/>It will not play back scripts frame perfectly with the current, imperfect syncing method. + + + true + + + + + + + + + + + + + + Settings + + + + + + Enable TAS features + + + + + + + Automatic controller profile swapping + + + + + + + Loop script + + + + + + + false + + + Pause execution during loads + + + + + + + + + + + + + + Script Directory + + + + + + Path + + + + + + + ... + + + + + + + + + - - - - - buttonBox - accepted() - ConfigureTas - accept() - - - buttonBox - rejected() - ConfigureTas - reject() - - + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 0 + 0 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + ConfigureTas + accept() + + + 20 + 20 + + + 20 + 20 + + + + + buttonBox + rejected() + ConfigureTas + reject() + + + 20 + 20 + + + 20 + 20 + + + + -- cgit v1.2.3