From a2d6c6b87efc4f11c66f652a6143b299e4a8d80a Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 3 Nov 2021 22:30:41 -0600 Subject: [PATCH] kcms/users: Opt out of frameless scrollview for users list With https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/91 all ScrollView KCMs are frameless by default. This does not work with the Users KCM due to its somewhat unusual arrangement of displaying two pages at once, adjacent to one another. This commit opts it back into the framed style, which looks better, until such time as the layout can be adjusted to look good with a frameless style, should this be deemed desirable. --- kcms/users/package/contents/ui/main.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kcms/users/package/contents/ui/main.qml b/kcms/users/package/contents/ui/main.qml index 947dd2edb..2a158413e 100644 --- a/kcms/users/package/contents/ui/main.qml +++ b/kcms/users/package/contents/ui/main.qml @@ -28,6 +28,10 @@ KCM.ScrollViewKCM { implicitWidth: Kirigami.Units.gridUnit * 30 implicitHeight: Kirigami.Units.gridUnit * 20 + // Override default false value here as it doesn't really work with the + // layout we have here with two pages adjacent to one another + framedView: true + // QML cannot update avatar image when override. By increasing this number and // appending it to image source with '?', we force avatar to reload property int avatarVersion: 0