Qt: Shrink settings window and make widgets stretch

This commit is contained in:
Starsam80
2017-06-20 20:18:34 -06:00
parent ba356f78d1
commit c6478cac2f
5 changed files with 10 additions and 8 deletions

View File

@ -23,6 +23,7 @@ PathPane::PathPane(QWidget* parent) : QWidget(parent)
layout->addWidget(MakeGameFolderBox());
layout->addLayout(MakePathsLayout());
layout->setContentsMargins(0, 0, 0, 0);
setLayout(layout);
}
@ -82,7 +83,6 @@ void PathPane::BrowseWiiNAND()
QGroupBox* PathPane::MakeGameFolderBox()
{
QGroupBox* game_box = new QGroupBox(tr("Game Folders"));
game_box->setMinimumSize(QSize(400, 250));
QVBoxLayout* vlayout = new QVBoxLayout;
m_path_list = new QListWidget;