diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 17:06:50 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 17:06:56 -0800 |
commit | 494e5c5a346a741248701fab2f1d5f3cafa82873 (patch) | |
tree | 2d82c8dea76fdf54ac300d18bdac86bd15687ec7 /mobile-widgets/3rdparty | |
parent | 43b5ac378a4e66252d287990ad3beb197929e65d (diff) | |
download | subsurface-494e5c5a346a741248701fab2f1d5f3cafa82873.tar.gz |
mobile/UI: make passive notification easier to read
Once again I couldn't fix this without making changes to Kirigami.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/3rdparty')
-rw-r--r-- | mobile-widgets/3rdparty/0015-make-the-passiveNotification-easier-to-read.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mobile-widgets/3rdparty/0015-make-the-passiveNotification-easier-to-read.patch b/mobile-widgets/3rdparty/0015-make-the-passiveNotification-easier-to-read.patch new file mode 100644 index 000000000..86b91aa08 --- /dev/null +++ b/mobile-widgets/3rdparty/0015-make-the-passiveNotification-easier-to-read.patch @@ -0,0 +1,38 @@ +From a569abff442664f3832817d8f1af0e0f27e8be38 Mon Sep 17 00:00:00 2001 +From: Dirk Hohndel <dirk@hohndel.org> +Date: Sun, 20 Dec 2020 16:47:22 -0800 +Subject: [PATCH 15/15] make the passiveNotification easier to read + +Having it overlap the action button was kind of annoying, but worse, the +0.6 opacity made it really hard to read. + +Signed-off-by: Dirk Hohndel <dirk@hohndel.org> +--- + src/controls/templates/private/PassiveNotification.qml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/controls/templates/private/PassiveNotification.qml b/src/controls/templates/private/PassiveNotification.qml +index e3176764..a6caf4a5 100644 +--- a/src/controls/templates/private/PassiveNotification.qml ++++ b/src/controls/templates/private/PassiveNotification.qml +@@ -24,7 +24,7 @@ Controls.Popup { + id: root + + x: Math.round(parent.width/2 - width/2) +- y: parent.height - height - Kirigami.Units.smallSpacing ++ y: parent.height - height - 3 * Kirigami.Units.gridUnit // don't draw over the action button + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentWidth + leftPadding + rightPadding) + leftInset + rightInset + implicitHeight: Math.max(background ? background.implicitHeight : 0 , +@@ -197,7 +197,7 @@ Controls.Popup { + } + radius: Kirigami.Units.smallSpacing * 2 + color: Kirigami.Theme.backgroundColor +- opacity: 0.6 ++ opacity: 0.8 + } + } + } +-- +2.25.1 + |