Mercurial > minori
diff src/gui/pages/seasons.cc @ 365:f81bed4e04ac
*: megacommit that probably breaks things
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 02 Oct 2024 23:06:43 -0400 |
parents | 83e6ba09338f |
children |
line wrap: on
line diff
--- a/src/gui/pages/seasons.cc Tue Jul 16 21:15:59 2024 -0400 +++ b/src/gui/pages/seasons.cc Wed Oct 02 23:06:43 2024 -0400 @@ -67,7 +67,7 @@ QListWidgetItem* item = new QListWidgetItem; AnimeButton* button = new AnimeButton(this); button->SetAnime(Anime::db.items[id]); - item->setSizeHint(button->sizeHint()); + item->setSizeHint(QSize(500, 200)); buttons->addItem(item); buttons->setItemWidget(item, button); } @@ -232,6 +232,7 @@ buttons->setContentsMargins(4, 4, 4, 4); buttons->setSpacing(2); buttons->setResizeMode(QListView::Adjust); + buttons->setUniformItemSizes(true); full_layout->addWidget(buttons); }