Mercurial > minori
comparison src/gui/widgets/anime_button.cc @ 255:fe702c8f161f
*: whatever
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 07 Feb 2024 17:04:06 -0500 |
parents | d14f8e0e40c3 |
children | 862d0d8619f6 |
comparison
equal
deleted
inserted
replaced
254:d14f8e0e40c3 | 255:fe702c8f161f |
---|---|
44 misc_layout->setContentsMargins(0, 0, 0, 0); | 44 misc_layout->setContentsMargins(0, 0, 0, 0); |
45 | 45 |
46 _title = new QLabel("", misc_section); | 46 _title = new QLabel("", misc_section); |
47 _title->setAutoFillBackground(true); | 47 _title->setAutoFillBackground(true); |
48 _title->setContentsMargins(4, 4, 4, 4); | 48 _title->setContentsMargins(4, 4, 4, 4); |
49 _title->setStyleSheet("background-color: rgba(0, 245, 25, 25);"); | 49 _title->setStyleSheet("background-color: rgba(0, 245, 25, 50);"); |
50 { | 50 { |
51 QFont fnt(_title->font()); | 51 QFont fnt(_title->font()); |
52 fnt.setWeight(QFont::Bold); | 52 fnt.setWeight(QFont::Bold); |
53 _title->setFont(fnt); | 53 _title->setFont(fnt); |
54 } | 54 } |
55 misc_layout->addWidget(_title); | 55 misc_layout->addWidget(_title); |
56 | 56 |
57 /* need to make a separate "labelled paragraph" for this */ | 57 _info = new TextWidgets::LabelledParagraph(tr("Aired:\nEpisodes:\nGenres:\nProducers:\nScore:\nPopularity:"), "\n\n\n\n\n", misc_section); |
58 _info = new TextWidgets::LabelledParagraph(tr("Aired:\nEpisodes:\nGenres:\nProducers:\nScore:\nPopularity:"), "\n\n\n\n", misc_section); | |
59 { | 58 { |
60 QFont fnt(_info->GetLabels()->font()); | 59 QFont fnt(_info->GetLabels()->font()); |
61 fnt.setWeight(QFont::Bold); | 60 fnt.setWeight(QFont::Bold); |
62 _info->GetLabels()->setFont(fnt); | 61 _info->GetLabels()->setFont(fnt); |
63 } | 62 } |