diff --git a/0001-refactor-panel-set-panel-creategory-widget-auto-fill.patch b/0001-refactor-panel-set-panel-creategory-widget-auto-fill.patch new file mode 100644 index 0000000..7d1e436 --- /dev/null +++ b/0001-refactor-panel-set-panel-creategory-widget-auto-fill.patch @@ -0,0 +1,29 @@ +From cd389d7ded1fa975efe2082d1f5921f1fd00e809 Mon Sep 17 00:00:00 2001 +From: liuxinhao +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 + diff --git a/kiran-control-panel.spec b/kiran-control-panel.spec index 7e4a2f6..cc0b16c 100644 --- a/kiran-control-panel.spec +++ b/kiran-control-panel.spec @@ -1,6 +1,6 @@ Name: kiran-control-panel Version: 2.3.4 -Release: 3 +Release: 4 Summary: Kiran Control Panel Summary(zh_CN): Kiran桌面控制面板 @@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz Patch0001: 0001-fix-system-buttons-on-the-system-information-page-ar.patch Patch0002: 0002-refactor-systeminfo-update-systeminfo-plugin-dialog-.patch Patch0003: 0001-fix-netwowrk-fix-not-searching-the-wireless-network-.patch +Patch0004: 0001-refactor-panel-set-panel-creategory-widget-auto-fill.patch BuildRequires: gcc-c++ BuildRequires: cmake >= 3.2 @@ -167,6 +168,9 @@ make %{?_smp_mflags} rm -rf %{buildroot} %changelog +* Tue Aug 09 2022 liuxinhao - 2.3.4-4 +- KYOS-F: set panel creategory widget auto fill background + * Fri Aug 05 2022 luoqing - 2.3.4-3 - KYOS-B: fix not searching the wireless network for a long time after the WiFi connection is successful(#I5IPVO)