refactor(panel): set panel creategory widget auto fill background
This commit is contained in:
parent
ae3f7a1097
commit
6f08d0a790
@ -0,0 +1,29 @@
|
||||
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
|
||||
|
||||
@ -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 <liuxinhao@kylinsec.com.cn> - 2.3.4-4
|
||||
- KYOS-F: set panel creategory widget auto fill background
|
||||
|
||||
* Fri Aug 05 2022 luoqing <luoqing@kylinsec.com.cn> - 2.3.4-3
|
||||
- KYOS-B: fix not searching the wireless network for a long time after the WiFi connection is successful(#I5IPVO)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user