From f8a1ed84a882d31d5c4d85449e3e56d838fe2fec Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 26 Jul 2018 12:12:00 +0300 Subject: [PATCH] Fix background color on the room list widget --- resources/styles/nheko-dark.qss | 4 ++++ resources/styles/nheko.qss | 4 ++++ src/RoomList.cpp | 1 + 3 files changed, 9 insertions(+) diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss index 5c8fc976..57e3e8b4 100644 --- a/resources/styles/nheko-dark.qss +++ b/resources/styles/nheko-dark.qss @@ -48,6 +48,10 @@ RoomList > * { border: none; } +#roomlist_area { + background-color: #2d3139; +} + CommunitiesList, CommunitiesList > * { background-color: #2d3139; diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss index 7184dbfb..5852e9da 100644 --- a/resources/styles/nheko.qss +++ b/resources/styles/nheko.qss @@ -48,6 +48,10 @@ RoomList > * { border: none; } +#roomlist_area { + background-color: white; +} + CommunitiesList, CommunitiesList > * { background-color: white; diff --git a/src/RoomList.cpp b/src/RoomList.cpp index 86b9714d..8c13a7a7 100644 --- a/src/RoomList.cpp +++ b/src/RoomList.cpp @@ -51,6 +51,7 @@ RoomList::RoomList(QSharedPointer userSettings, QWidget *parent) #endif scrollAreaContents_ = new QWidget(this); + scrollAreaContents_->setObjectName("roomlist_area"); contentsLayout_ = new QVBoxLayout(scrollAreaContents_); contentsLayout_->setSpacing(0);