From 15f4461aec24c0feab3ccfc0acb840f03f352cea Mon Sep 17 00:00:00 2001 From: iaom Date: Mon, 6 Jun 2022 14:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/control/stack-pages/search-page-section.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/control/stack-pages/search-page-section.cpp b/frontend/control/stack-pages/search-page-section.cpp index 97372de..0863023 100644 --- a/frontend/control/stack-pages/search-page-section.cpp +++ b/frontend/control/stack-pages/search-page-section.cpp @@ -374,6 +374,7 @@ void ResultArea::initUi() pal.setColor(QPalette::Window, RESULT_BACKGROUND_COLOR); scroll_bar_pal.setColor(QPalette::Base, RESULT_BACKGROUND_COLOR); this->verticalScrollBar()->setPalette(scroll_bar_pal); + this->verticalScrollBar()->setProperty("drawScrollBarGroove", false); this->setFrameShape(QFrame::Shape::NoFrame); this->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); this->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);