commit
c9b4e3959c
|
@ -40,7 +40,7 @@ void WrapInScrollArea(QWidget* parent, QLayout* wrapped_layout, QWidget* to_resi
|
|||
auto* widget = new QWidget;
|
||||
widget->setLayout(wrapped_layout);
|
||||
|
||||
auto* scroll_area = GetWrappedWidget(widget, to_resize);
|
||||
auto* scroll_area = GetWrappedWidget(widget, to_resize, 0, 0);
|
||||
|
||||
auto* scroll_layout = new QVBoxLayout;
|
||||
scroll_layout->addWidget(scroll_area);
|
||||
|
|
|
@ -24,13 +24,13 @@ void SearchBar::CreateWidgets()
|
|||
m_search_edit = new QLineEdit;
|
||||
m_close_button = new QPushButton(tr("Close"));
|
||||
|
||||
m_search_edit->setPlaceholderText(tr("Type your search term here"));
|
||||
m_search_edit->setPlaceholderText(tr("Search games..."));
|
||||
|
||||
auto* layout = new QHBoxLayout;
|
||||
|
||||
layout->addWidget(m_search_edit);
|
||||
layout->addWidget(m_close_button);
|
||||
layout->setMargin(0);
|
||||
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
|
|
@ -226,6 +226,8 @@ void Settings::SetDebugModeEnabled(bool enabled)
|
|||
SConfig::GetInstance().bEnableDebugging = enabled;
|
||||
emit DebugModeToggled(enabled);
|
||||
}
|
||||
if (enabled)
|
||||
SetCodeVisible(true);
|
||||
}
|
||||
|
||||
bool Settings::IsDebugModeEnabled() const
|
||||
|
|
|
@ -116,6 +116,8 @@ void GameCubePane::CreateWidgets()
|
|||
layout->addWidget(ipl_box);
|
||||
layout->addWidget(device_box);
|
||||
|
||||
layout->addStretch();
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue