diff --git a/src/HistoryViewManager.cc b/src/HistoryViewManager.cc index c6d33e020aa8952e82a1f50aa93b3953f3ea9109..5967ac1212d1814389afe7dc42191cafc1472975 100644 --- a/src/HistoryViewManager.cc +++ b/src/HistoryViewManager.cc @@ -30,12 +30,7 @@ HistoryViewManager::HistoryViewManager(QSharedPointer<MatrixClient> client, QWid : QStackedWidget(parent) , client_(client) { - setStyleSheet( - "QWidget {background: #f8fbfe; color: #e8e8e8; border: none;}" - "QScrollBar:vertical { background-color: #f8fbfe; width: 8px; border-radius: 20px; margin: 0px 2px 0 2px; }" - "QScrollBar::handle:vertical { border-radius : 50px; background-color : #d6dde3; }" - "QScrollBar::add-line:vertical { border: none; background: none; }" - "QScrollBar::sub-line:vertical { border: none; background: none; }"); + setStyleSheet("QWidget { background: #f8fbfe; color: #e8e8e8; border: none;}"); connect(client_.data(), SIGNAL(messageSent(const QString &, const QString &, int)), diff --git a/src/RoomList.cc b/src/RoomList.cc index 9955384235d183c139ad76a3b46eddcaed8c08ce..8db1e7b2932e00f0b6e4ad25083d3a37863482c9 100644 --- a/src/RoomList.cc +++ b/src/RoomList.cc @@ -34,7 +34,9 @@ RoomList::RoomList(QSharedPointer<MatrixClient> client, QWidget *parent) ui->setupUi(this); ui->scrollVerticalLayout->addStretch(1); - setStyleSheet("border-top: none"); + setStyleSheet( + "QWidget { border: none; }" + "QScrollBar:vertical { width: 4px; margin: 2px 0; }"); connect(client_.data(), SIGNAL(roomAvatarRetrieved(const QString &, const QPixmap &)), diff --git a/src/main.cc b/src/main.cc index e25729017fbaf39b03b493d0c19ed47601116198..5f03c2c3e93481c9e07bab23c4cc327a387ba8e7 100644 --- a/src/main.cc +++ b/src/main.cc @@ -41,6 +41,12 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); app.setWindowIcon(QIcon(":/logos/nheko.png")); + app.setStyleSheet( + "QScrollBar:vertical { background-color: #f8fbfe; width: 8px; border: none; margin: 2px; }" + "QScrollBar::handle:vertical { background-color : #d6dde3; }" + "QScrollBar::add-line:vertical { border: none; background: none; }" + "QScrollBar::sub-line:vertical { border: none; background: none; }"); + QFont font("Open Sans"); app.setFont(font);