summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-09-03 21:36:46 +0200
committerGitHub <noreply@github.com>2022-09-03 21:36:46 +0200
commit3bcfd0dc427c513079ab1e563c555f1242537e65 (patch)
treeb89c8acdd40a8d3e0bf078c93da6f6ccc30cbc57 /src
parentMerge pull request #8822 from FearlessTobi/multiplayer-fixes (diff)
parentQt: Make General->Debug scrollable (diff)
downloadyuzu-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.cpp2
-rw-r--r--src/yuzu/configuration/configure_debug.h4
-rw-r--r--src/yuzu/configuration/configure_debug.ui7
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>