Mercurial > minori
comparison src/gui/dialog/settings/application.cc @ 105:6d8da6e64d61
theme: add dark stylesheet, make it actually usable
win32: make the titlebar black where available
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 03:54:26 -0500 |
parents | b315f3759c56 |
children | 2004b41d4a59 |
comparison
equal
deleted
inserted
replaced
104:27455104ea37 | 105:6d8da6e64d61 |
---|---|
10 #include <QSizePolicy> | 10 #include <QSizePolicy> |
11 #include <QVBoxLayout> | 11 #include <QVBoxLayout> |
12 | 12 |
13 QWidget* SettingsPageApplication::CreateAnimeListWidget() { | 13 QWidget* SettingsPageApplication::CreateAnimeListWidget() { |
14 QWidget* result = new QWidget(this); | 14 QWidget* result = new QWidget(this); |
15 result->setAutoFillBackground(true); | |
15 result->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); | 16 result->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); |
16 | 17 |
17 QGroupBox* actions_group_box = new QGroupBox(tr("Actions"), result); | 18 QGroupBox* actions_group_box = new QGroupBox(tr("Actions"), result); |
18 actions_group_box->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); | 19 actions_group_box->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); |
19 | 20 |