mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
reduce empty spacing in game selector
This commit is contained in:
parent
4d791f4d7a
commit
1f917b0b9b
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ GameSelector::GameSelector(AbstractClient *_client,
|
|||
spectateButton = new QPushButton;
|
||||
|
||||
QHBoxLayout *buttonLayout = new QHBoxLayout;
|
||||
buttonLayout->setSpacing(7);
|
||||
if (showFilters) {
|
||||
buttonLayout->addWidget(filterButton);
|
||||
buttonLayout->addWidget(clearFilterButton);
|
||||
|
|
@ -106,6 +107,8 @@ GameSelector::GameSelector(AbstractClient *_client,
|
|||
buttonLayout->setAlignment(Qt::AlignTop);
|
||||
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
mainLayout->setSpacing(2);
|
||||
mainLayout->setContentsMargins(11, 11, 11, 0);
|
||||
mainLayout->addWidget(gameListView);
|
||||
mainLayout->addLayout(buttonLayout);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue