DolphinQt: Make GeckoCodeWidget default size not taller than it needs to be.

This commit is contained in:
Jordan Woyak 2025-05-26 15:09:37 -05:00
parent eed7843d4a
commit aafe961177
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include "DolphinQt/Config/HardcoreWarningWidget.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
#include "DolphinQt/QtUtils/QtUtils.h"
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
#include "DolphinQt/QtUtils/WrapInScrollArea.h"
@ -74,7 +75,7 @@ void GeckoCodeWidget::CreateWidgets()
#ifdef USE_RETRO_ACHIEVEMENTS
m_hc_warning = new HardcoreWarningWidget(this);
#endif // USE_RETRO_ACHIEVEMENTS
m_code_list = new QListWidget;
m_code_list = new QtUtils::MinimumSizeHintWidget<QListWidget>;
m_name_label = new QLabel;
m_creator_label = new QLabel;