mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 04:57:45 +00:00
launcher: Improve margins
This commit is contained in:
parent
2bd232f40e
commit
f1864d39ed
1 changed files with 5 additions and 0 deletions
|
@ -72,12 +72,15 @@ MainWindow::MainWindow()
|
|||
});
|
||||
|
||||
auto appListLayout = new QVBoxLayout();
|
||||
appListLayout->setContentsMargins(0, 0, 0, 0);
|
||||
appListLayout->addWidget(appList);
|
||||
|
||||
auto centralFrame = new QFrame();
|
||||
centralFrame->setContentsMargins(0, 0, 0, 0);
|
||||
centralFrame->setLayout(appListLayout);
|
||||
|
||||
auto formLayout = new QFormLayout();
|
||||
formLayout->setContentsMargins(5, 5, 5, 5); // TODO: use style values
|
||||
|
||||
KConfig config(QStringLiteral("novusrc"));
|
||||
KConfigGroup game = config.group(QStringLiteral("Game"));
|
||||
|
@ -89,6 +92,8 @@ MainWindow::MainWindow()
|
|||
gameCombo->addItem(game.readEntry("GameDir"));
|
||||
|
||||
auto mainLayout = new QVBoxLayout();
|
||||
mainLayout->setSpacing(0);
|
||||
mainLayout->setContentsMargins(0, 0, 0, 0);
|
||||
mainLayout->addWidget(centralFrame);
|
||||
mainLayout->addLayout(formLayout);
|
||||
auto centralWidget = new QWidget();
|
||||
|
|
Loading…
Add table
Reference in a new issue