blob: 527e199cc66da08ba9a8e58af5f0e07c3bd3c2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
From faef126255222f727219bf69ac2b89857dc61ab2 Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Sun, 14 Jun 2020 09:08:21 -0600
Subject: [PATCH] Port applets to use PlasmaExtras.PlaceholderMessage
The Kirigami version uses QQC2 elements which don't respect the plasma
theme and color scheme, leading to thing slooking out of place
especially when using a dark color theme or scheme.
Depends on https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/13
---
applets/clipboard/contents/ui/Menu.qml | 2 +-
.../notifications/package/contents/ui/FullRepresentation.qml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applets/clipboard/contents/ui/Menu.qml b/applets/clipboard/contents/ui/Menu.qml
index 0bd6064a5..cac8380db 100644
--- a/applets/clipboard/contents/ui/Menu.qml
+++ b/applets/clipboard/contents/ui/Menu.qml
@@ -55,7 +55,7 @@ PlasmaExtras.ScrollArea {
onAction: menu.action(uuid)
}
- Kirigami.PlaceholderMessage {
+ PlasmaExtras.PlaceholderMessage {
id: emptyHint
anchors.centerIn: parent
diff --git a/applets/notifications/package/contents/ui/FullRepresentation.qml b/applets/notifications/package/contents/ui/FullRepresentation.qml
index b34dee7af..989cb4341 100644
--- a/applets/notifications/package/contents/ui/FullRepresentation.qml
+++ b/applets/notifications/package/contents/ui/FullRepresentation.qml
@@ -585,7 +585,7 @@ PlasmaComponents3.Page {
}
}
- Kirigami.PlaceholderMessage {
+ PlasmaExtras.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
--
2.27.0
|