mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
background role is now window
This commit is contained in:
@ -24,7 +24,7 @@ AddLabelDialog::AddLabelDialog(QWidget *parent)
|
||||
list->addItem(new QListWidgetItem(QIcon(":/images/lists/label_light.png"), tr("light")));
|
||||
list->addItem(new QListWidgetItem(QIcon(":/images/lists/label_dark.png"), tr("dark")));
|
||||
|
||||
QColor backgroundColor = this->palette().background().color();
|
||||
QColor backgroundColor = this->palette().window().color();
|
||||
list->setStyleSheet(QString("QListWidget {border : none; background-color: rgb(%1,%2,%3);}").arg(backgroundColor.red()).arg(backgroundColor.green()).arg(backgroundColor.blue()));
|
||||
list->setMinimumHeight(225);
|
||||
|
||||
|
Reference in New Issue
Block a user