add fix-kylin-music-border-space.patch
This commit is contained in:
parent
060cb6e4b2
commit
e05f9604c7
30
fix-kylin-music-border-space.patch
Normal file
30
fix-kylin-music-border-space.patch
Normal file
@ -0,0 +1,30 @@
|
||||
diff -Naur kylin-music-1.1.3/UI/sidebar/sidebarwidget.cpp kylin-music-1.1.3~/UI/sidebar/sidebarwidget.cpp
|
||||
--- kylin-music-1.1.3/UI/sidebar/sidebarwidget.cpp 2022-03-03 17:05:57.000000000 +0800
|
||||
+++ kylin-music-1.1.3~/UI/sidebar/sidebarwidget.cpp 2024-05-09 17:59:58.015452869 +0800
|
||||
@@ -93,7 +93,7 @@
|
||||
myPlayListLayout->addWidget(myPlayListLabel);
|
||||
myPlayListLayout->addStretch();
|
||||
myPlayListLayout->addWidget(myPlayListBtn);
|
||||
- myPlayListLayout->setContentsMargins(38,0,38,0);
|
||||
+ myPlayListLayout->setContentsMargins(38-13,0,38-27,0);
|
||||
|
||||
QScrollArea *scrollArea = new QScrollArea(this);
|
||||
scrollArea->setFrameStyle(0);
|
||||
diff -Naur kylin-music-1.1.3/UI/tableview/tableone.cpp kylin-music-1.1.3~/UI/tableview/tableone.cpp
|
||||
--- kylin-music-1.1.3/UI/tableview/tableone.cpp 2022-03-03 17:05:57.000000000 +0800
|
||||
+++ kylin-music-1.1.3~/UI/tableview/tableone.cpp 2024-05-09 18:00:39.313778080 +0800
|
||||
@@ -88,12 +88,12 @@
|
||||
if(WidgetStyle::themeColor == 0) {
|
||||
horizonHeader->setStyleSheet("QHeaderView::section,QTableCornerButton::section {padding-left: 25px;\
|
||||
border: none;border-bottom: 1px solid white;\
|
||||
- border-right: 1px solid white;border-bottom: 1px transparent;\
|
||||
+ border-right: 5px solid white;border-bottom: 1px transparent;\
|
||||
background-color:white;color:#8F9399;}");
|
||||
} else {
|
||||
horizonHeader->setStyleSheet("QHeaderView::section,QTableCornerButton::section {padding-left: 25px;\
|
||||
border: none;border-bottom: 1px solid #252526;\
|
||||
- border-right: 1px solid #252526;border-bottom: 1px transparent;\
|
||||
+ border-right: 5px solid #252526;border-bottom: 1px transparent;\
|
||||
background-color:#252526;color:#8F9399;}");
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: kylin-music
|
||||
Version: 1.1.3
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: kylin-music
|
||||
License: GPL-3.0-or-later and MIT
|
||||
URL: https://github.com/UbuntuKylin/kylin-music
|
||||
@ -13,6 +13,7 @@ Patch3: 0001-kylin-music-fix-wrong-mouse-style-of-some-title-bar-.patch
|
||||
Patch4: 0001-kylin-music-fix-null-pointer-widget-error.patch
|
||||
Patch5: 0001-use-QRandomGenerator-to-generate-random-numbers.patch
|
||||
Patch6: fix-kylin-music-mini-mode-stay-on-top-hint.patch
|
||||
Patch7: fix-kylin-music-border-space.patch
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qtchooser
|
||||
@ -42,6 +43,7 @@ kylin-music
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
@ -86,6 +88,9 @@ cp -r %{_builddir}/%{name}-%{version}/data/kylin-music %{buildroot}/usr/share/ky
|
||||
%{_datadir}/kylin-user-guide/data/guide/*
|
||||
|
||||
%changelog
|
||||
* Thu May 09 2024 douyan <douyan@kylinos.cn> - 1.1.3-8
|
||||
- add fix-kylin-music-border-space.patch
|
||||
|
||||
* Tue May 07 2024 douyan <douyan@kylinos.cn> - 1.1.3-7
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user