From cd389d7ded1fa975efe2082d1f5921f1fd00e809 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Tue, 9 Aug 2022 09:38:42 +0800
Subject: [PATCH] refactor(panel): set panel creategory widget auto fill
 background
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- 适配KiranStyle 滚动区域绘制调整，手动打开滚动区域autofillbackground
---
 src/category-widget.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/category-widget.cpp b/src/category-widget.cpp
index 83c3b26..4a0580e 100644
--- a/src/category-widget.cpp
+++ b/src/category-widget.cpp
@@ -56,6 +56,7 @@ void CategoryWidget::init()
 
     //滚动区域
     auto pScrollArea = new QScrollArea(this);
+    pScrollArea->setAutoFillBackground(true);
     pScrollArea->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
     pScrollArea->setFrameStyle(QFrame::NoFrame);
     layout->addWidget(pScrollArea);
-- 
2.33.0

