mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Reduce tag display widget spacing (#5731)
* Reduce tag display widget spacing * Reduce bottom margin in deck dock
This commit is contained in:
parent
2739550087
commit
6b4ae8308a
2 changed files with 3 additions and 2 deletions
|
|
@ -105,6 +105,8 @@ void DeckEditorDeckDockWidget::createDeckDock()
|
||||||
|
|
||||||
auto *upperLayout = new QGridLayout;
|
auto *upperLayout = new QGridLayout;
|
||||||
upperLayout->setObjectName("upperLayout");
|
upperLayout->setObjectName("upperLayout");
|
||||||
|
upperLayout->setContentsMargins(11, 11, 11, 0);
|
||||||
|
|
||||||
upperLayout->addWidget(nameLabel, 0, 0);
|
upperLayout->addWidget(nameLabel, 0, 0);
|
||||||
upperLayout->addWidget(nameEdit, 0, 1);
|
upperLayout->addWidget(nameEdit, 0, 1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,7 @@ DeckPreviewDeckTagsDisplayWidget::DeckPreviewDeckTagsDisplayWidget(QWidget *_par
|
||||||
|
|
||||||
// Create layout
|
// Create layout
|
||||||
auto *layout = new QHBoxLayout(this);
|
auto *layout = new QHBoxLayout(this);
|
||||||
layout->setContentsMargins(5, 5, 5, 5);
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
layout->setSpacing(5);
|
|
||||||
|
|
||||||
setFixedHeight(100);
|
setFixedHeight(100);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue