Mercurial > minori
comparison src/gui/widgets/anime_button.cc @ 295:b82841e76e79
*: better support on Windows
things now look much better in dark mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 20:24:09 -0400 |
parents | 9a88e1725fd2 |
children | 5d3c9b31aa6e |
comparison
equal
deleted
inserted
replaced
294:99cbc51433e4 | 295:b82841e76e79 |
---|---|
32 , _synopsis("", nullptr) { | 32 , _synopsis("", nullptr) { |
33 setFrameShadow(QFrame::Plain); | 33 setFrameShadow(QFrame::Plain); |
34 setFrameShape(QFrame::Box); | 34 setFrameShape(QFrame::Box); |
35 QHBoxLayout* ly = new QHBoxLayout(this); | 35 QHBoxLayout* ly = new QHBoxLayout(this); |
36 | 36 |
37 /* XXX does Qt have a "fixed ratio"? */ | |
37 _poster.setFixedSize(120, 170); | 38 _poster.setFixedSize(120, 170); |
38 _poster.SetClickable(false); | 39 _poster.SetClickable(false); |
39 ly->addWidget(&_poster, 0, Qt::AlignTop); | 40 ly->addWidget(&_poster, 0, Qt::AlignTop); |
40 | 41 |
41 { | 42 { |