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.
This commit is contained in:
Dentomologist
2024-03-31 12:54:47 -07:00
parent a5e410df11
commit ac4fd2297f
4 changed files with 10 additions and 4 deletions

View File

@ -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()