mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 05:53:59 -07:00
[Dialog] Reduce spacing in create local game dialog
This commit is contained in:
parent
c5cd7d8700
commit
ab2fbb43cc
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ DlgLocalGameOptions::DlgLocalGameOptions(QWidget *parent) : QDialog(parent)
|
||||||
numberPlayersLabel->setBuddy(numberPlayersEdit);
|
numberPlayersLabel->setBuddy(numberPlayersEdit);
|
||||||
|
|
||||||
auto *generalGrid = new QGridLayout;
|
auto *generalGrid = new QGridLayout;
|
||||||
|
generalGrid->setContentsMargins(5, 5, 5, 5);
|
||||||
generalGrid->addWidget(numberPlayersLabel, 0, 0);
|
generalGrid->addWidget(numberPlayersLabel, 0, 0);
|
||||||
generalGrid->addWidget(numberPlayersEdit, 0, 1);
|
generalGrid->addWidget(numberPlayersEdit, 0, 1);
|
||||||
generalGroupBox = new QGroupBox(tr("General"), this);
|
generalGroupBox = new QGroupBox(tr("General"), this);
|
||||||
|
|
@ -33,6 +34,7 @@ DlgLocalGameOptions::DlgLocalGameOptions(QWidget *parent) : QDialog(parent)
|
||||||
startingLifeTotalLabel->setBuddy(startingLifeTotalEdit);
|
startingLifeTotalLabel->setBuddy(startingLifeTotalEdit);
|
||||||
|
|
||||||
auto *gameSetupGrid = new QGridLayout;
|
auto *gameSetupGrid = new QGridLayout;
|
||||||
|
gameSetupGrid->setContentsMargins(5, 5, 5, 5);
|
||||||
gameSetupGrid->addWidget(startingLifeTotalLabel, 0, 0);
|
gameSetupGrid->addWidget(startingLifeTotalLabel, 0, 0);
|
||||||
gameSetupGrid->addWidget(startingLifeTotalEdit, 0, 1);
|
gameSetupGrid->addWidget(startingLifeTotalEdit, 0, 1);
|
||||||
gameSetupOptionsGroupBox = new QGroupBox(tr("Game setup options"), this);
|
gameSetupOptionsGroupBox = new QGroupBox(tr("Game setup options"), this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue