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.
wilder-5.24
Nate Graham 4 years ago
parent d2d025d15b
commit a2d6c6b87e
  1. 4
      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

Loading…
Cancel
Save