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 committed 2024-03-31 13:17:56 -07:00
1 parent a5e410df11
commit ac4fd2297f
4 files changed
+10 -4

No files matched your search

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