Mercurial > minori
comparison src/gui/dialog/information.cc @ 294:99cbc51433e4
*: cleanup uses of QPalette
I didn't know about setBackgroundRole() which is very useful
in 99% of the cases where I even needed to edit the palette
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Sun, 12 May 2024 18:16:08 -0400 |
| parents | 9a88e1725fd2 |
| children | 91ac90a34003 |
comparison
equal
deleted
inserted
replaced
| 293:703fb7d7c917 | 294:99cbc51433e4 |
|---|---|
| 292 } | 292 } |
| 293 | 293 |
| 294 layout->addWidget(main_widget); | 294 layout->addWidget(main_widget); |
| 295 } | 295 } |
| 296 layout->setSpacing(12); | 296 layout->setSpacing(12); |
| 297 layout->setContentsMargins(0, 0, 0, 0); | |
| 297 full_layout->addWidget(widget); | 298 full_layout->addWidget(widget); |
| 298 } | 299 } |
| 299 | 300 |
| 300 { | 301 { |
| 301 /* Dialog box buttons */ | 302 /* Dialog box buttons */ |
