forked from pool/kirigami2
This commit is contained in:
parent
101e8a7c03
commit
88cbe156bc
@ -0,0 +1,24 @@
|
||||
From f695cde36a6829b8b92b2fd82deff16d9385fcb9 Mon Sep 17 00:00:00 2001
|
||||
From: Marco Martin <notmart@gmail.com>
|
||||
Date: Mon, 10 Feb 2020 11:48:50 +0100
|
||||
Subject: [PATCH] make headerParent correctly alignedwhen there is a scrollbar
|
||||
|
||||
---
|
||||
src/controls/GlobalDrawer.qml | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/controls/GlobalDrawer.qml b/src/controls/GlobalDrawer.qml
|
||||
index 0e8e5120..9166ad7a 100644
|
||||
--- a/src/controls/GlobalDrawer.qml
|
||||
+++ b/src/controls/GlobalDrawer.qml
|
||||
@@ -301,6 +301,7 @@ OverlayDrawer {
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
+ rightMargin: Math.min(0, -scrollView.width + mainFlickable.width)
|
||||
}
|
||||
spacing: 0
|
||||
y: bannerImage.visible ? Math.max(headerContainer.height, -mainFlickable.contentY) - height : 0
|
||||
--
|
||||
2.25.0
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 21:33:36 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Add upstream patch 0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 2 18:07:01 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -35,6 +35,7 @@ Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-
|
||||
Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
Patch0: 0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: cmake(Qt5Core) >= 5.7.0
|
||||
|
Loading…
Reference in New Issue
Block a user