From 76fb954b3d2518665d3fb6bd452d7f4f03592dd4 Mon Sep 17 00:00:00 2001 From: Krzysztof Starecki Date: Tue, 1 Jan 2019 22:34:42 +0100 Subject: Fix download entry padding issues (again) --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 224ce0a9..2e1391c1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5193,6 +5193,8 @@ void MainWindow::updateDownloadView() ui->downloadView->setProperty("downloadView", "standard"); setStyleSheet("DownloadListWidget::item { padding: 16px; }"); } + setStyleSheet("DownloadListWidget::item:hover { padding: 0px; }"); + setStyleSheet("DownloadListWidget::item:selected { padding: 0px; }"); // reapply global stylesheet on the widget level (!) to override the defaults ui->downloadView->setStyleSheet(styleSheet()); -- cgit v1.3.1