mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 02:12:14 -07:00
reduce spacing
This commit is contained in:
parent
baecad3264
commit
2f40fa0809
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
||||||
groupByLabelProxy->setWidget(&groupByLabel);
|
groupByLabelProxy->setWidget(&groupByLabel);
|
||||||
groupByLabelProxy->setZValue(2000000008);
|
groupByLabelProxy->setZValue(2000000008);
|
||||||
hFilterbox->addItem(groupByLabelProxy);
|
hFilterbox->addItem(groupByLabelProxy);
|
||||||
|
hFilterbox->setItemSpacing(0, 0);
|
||||||
|
|
||||||
// groupBy options
|
// groupBy options
|
||||||
groupBySelector.setFixedHeight(23);
|
groupBySelector.setFixedHeight(23);
|
||||||
|
|
@ -63,6 +64,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
||||||
groupBySelectorProxy->setZValue(2000000008);
|
groupBySelectorProxy->setZValue(2000000008);
|
||||||
groupBySelectorProxy->setMinimumWidth(120);
|
groupBySelectorProxy->setMinimumWidth(120);
|
||||||
hFilterbox->addItem(groupBySelectorProxy);
|
hFilterbox->addItem(groupBySelectorProxy);
|
||||||
|
hFilterbox->setItemSpacing(1, 1);
|
||||||
|
|
||||||
// sortBy label
|
// sortBy label
|
||||||
sortByLabel.setFixedHeight(23);
|
sortByLabel.setFixedHeight(23);
|
||||||
|
|
@ -73,6 +75,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
||||||
sortByLabelProxy->setWidget(&sortByLabel);
|
sortByLabelProxy->setWidget(&sortByLabel);
|
||||||
sortByLabelProxy->setZValue(2000000007);
|
sortByLabelProxy->setZValue(2000000007);
|
||||||
hFilterbox->addItem(sortByLabelProxy);
|
hFilterbox->addItem(sortByLabelProxy);
|
||||||
|
hFilterbox->setItemSpacing(2, 0);
|
||||||
|
|
||||||
// sortBy options
|
// sortBy options
|
||||||
sortBySelector.setFixedHeight(23);
|
sortBySelector.setFixedHeight(23);
|
||||||
|
|
@ -82,6 +85,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
||||||
sortBySelectorProxy->setZValue(2000000007);
|
sortBySelectorProxy->setZValue(2000000007);
|
||||||
sortBySelectorProxy->setMinimumWidth(120);
|
sortBySelectorProxy->setMinimumWidth(120);
|
||||||
hFilterbox->addItem(sortBySelectorProxy);
|
hFilterbox->addItem(sortBySelectorProxy);
|
||||||
|
hFilterbox->setItemSpacing(3, 1);
|
||||||
|
|
||||||
vbox->addItem(hFilterbox);
|
vbox->addItem(hFilterbox);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue