comparison src/gui/widgets/anime_info.cc @ 253:b3549da699a6

*: ooooh! stupid big commit! oops
author Paper <paper@paper.us.eu.org>
date Tue, 06 Feb 2024 16:56:32 -0500
parents c130f47f6f48
children 862d0d8619f6
comparison
equal deleted inserted replaced
252:a0eeb2cc7e6d 253:b3549da699a6
14 14
15 _details.reset(new TextWidgets::LabelledSection(tr("Details"), tr("Type:\nEpisodes:\nStatus:\nSeason:\nGenres:\nScore:"), "", this)); 15 _details.reset(new TextWidgets::LabelledSection(tr("Details"), tr("Type:\nEpisodes:\nStatus:\nSeason:\nGenres:\nScore:"), "", this));
16 layout->addWidget(_details.get()); 16 layout->addWidget(_details.get());
17 17
18 _synopsis.reset(new TextWidgets::SelectableSection(tr("Synopsis"), "", this)); 18 _synopsis.reset(new TextWidgets::SelectableSection(tr("Synopsis"), "", this));
19 _synopsis->GetParagraph()->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); 19 _synopsis->GetParagraph()->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
20 layout->addWidget(_synopsis.get()); 20 layout->addWidget(_synopsis.get());
21
22 layout->addStretch();
21 } 23 }
22 24
23 AnimeInfoWidget::AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent) : AnimeInfoWidget(parent) { 25 AnimeInfoWidget::AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent) : AnimeInfoWidget(parent) {
24 SetAnime(anime); 26 SetAnime(anime);
25 } 27 }