summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-26 12:12:00 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-26 12:12:00 +0300
commitf8a1ed84a882d31d5c4d85449e3e56d838fe2fec (patch)
treea75dd0bfbd00fd911521d6c6bb97b366ef962c5d
parentAdd missing tooltips on buttons (diff)
downloadnheko-f8a1ed84a882d31d5c4d85449e3e56d838fe2fec.tar.xz
Fix background color on the room list widget
-rw-r--r--resources/styles/nheko-dark.qss4
-rw-r--r--resources/styles/nheko.qss4
-rw-r--r--src/RoomList.cpp1
3 files changed, 9 insertions, 0 deletions
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> userSettings, QWidget *parent) #endif scrollAreaContents_ = new QWidget(this); + scrollAreaContents_->setObjectName("roomlist_area"); contentsLayout_ = new QVBoxLayout(scrollAreaContents_); contentsLayout_->setSpacing(0);