diff options
| author | Dentomologist <dentomologist@gmail.com> | 2024-03-31 12:54:47 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2024-03-31 13:17:56 -0700 |
| commit | ac4fd2297fda3b1e560b40e3e2e27fb9e5eb4d2e (patch) | |
| tree | f72c3d5b801353fda541c5eda6129c1f406824c2 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | a5e410df11b83646f21941caba98674d807daa7e (diff) | |
CheatsManager: Allow making the window smaller
Move CheatManager's child widgets into scroll areas to allow making the
window smaller than the default.
In CheatSearchWidget, enable word wrapping for the label describing the
address space and search type to help it fit better inside a narrower
window.
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index 1aa6afb643..7f37241ee6 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "DolphinQt/Config/GeckoCodeWidget.h" +#include "DolphinQt/QtUtils/WrapInScrollArea.h" #include <algorithm> #include <utility> @@ -138,7 +139,7 @@ void GeckoCodeWidget::CreateWidgets() layout->addLayout(btn_layout); - setLayout(layout); + WrapInScrollArea(this, layout); } void GeckoCodeWidget::ConnectWidgets() |
