diff options
author | Mai <mathew1800@gmail.com> | 2022-09-03 21:36:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 21:36:46 +0200 |
commit | 3bcfd0dc427c513079ab1e563c555f1242537e65 (patch) | |
tree | b89c8acdd40a8d3e0bf078c93da6f6ccc30cbc57 /src | |
parent | Merge pull request #8822 from FearlessTobi/multiplayer-fixes (diff) | |
parent | Qt: Make General->Debug scrollable (diff) | |
download | yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar.gz yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar.bz2 yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar.lz yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar.xz yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.tar.zst yuzu-3bcfd0dc427c513079ab1e563c555f1242537e65.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/configure_debug.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_debug.h | 4 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_debug.ui | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_debug.cpp b/src/yuzu/configuration/configure_debug.cpp index e16d127a8..04d397750 100644 --- a/src/yuzu/configuration/configure_debug.cpp +++ b/src/yuzu/configuration/configure_debug.cpp @@ -14,7 +14,7 @@ #include "yuzu/uisettings.h" ConfigureDebug::ConfigureDebug(const Core::System& system_, QWidget* parent) - : QWidget(parent), ui{std::make_unique<Ui::ConfigureDebug>()}, system{system_} { + : QScrollArea(parent), ui{std::make_unique<Ui::ConfigureDebug>()}, system{system_} { ui->setupUi(this); SetConfiguration(); diff --git a/src/yuzu/configuration/configure_debug.h b/src/yuzu/configuration/configure_debug.h index 64d68ab8f..42d30f170 100644 --- a/src/yuzu/configuration/configure_debug.h +++ b/src/yuzu/configuration/configure_debug.h @@ -4,7 +4,7 @@ #pragma once #include <memory> -#include <QWidget> +#include <QScrollArea> namespace Core { class System; @@ -14,7 +14,7 @@ namespace Ui { class ConfigureDebug; } -class ConfigureDebug : public QWidget { +class ConfigureDebug : public QScrollArea { Q_OBJECT public: diff --git a/src/yuzu/configuration/configure_debug.ui b/src/yuzu/configuration/configure_debug.ui index 4c16274fc..47b8b80f1 100644 --- a/src/yuzu/configuration/configure_debug.ui +++ b/src/yuzu/configuration/configure_debug.ui @@ -1,7 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ConfigureDebug</class> - <widget class="QWidget" name="ConfigureDebug"> + <widget class="QScrollArea" name="ConfigureDebug"> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget"> <layout class="QVBoxLayout" name="verticalLayout_1"> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> @@ -322,6 +326,7 @@ </item> </layout> </widget> + </widget> <tabstops> <tabstop>log_filter_edit</tabstop> <tabstop>toggle_console</tabstop> |