Commit 83ce03a4 authored by Nicolas Fella's avatar Nicolas Fella

[mobile/wifi] Use ScrollViewKCM

Summary:
This gives the KCM a proper frame/scrollbar

Needs D27562 to not always show the error message bubble

Test Plan:
Before:
{F8122104}
After:
{F8122107}

Reviewers: #plasma, jgrulich!, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27563
parent 986341a3
......@@ -22,9 +22,9 @@ import QtQuick.Layouts 1.2
import QtQuick.Controls 2.2 as Controls
import org.kde.plasma.networkmanagement 0.2 as PlasmaNM
import org.kde.kirigami 2.10 as Kirigami
import org.kde.kcm 1.1
import org.kde.kcm 1.2
SimpleKCM {
ScrollViewKCM {
id: main
PlasmaNM.Handler {
......@@ -62,11 +62,8 @@ SimpleKCM {
header: Kirigami.InlineMessage {
id: inlineError
Layout.fillWidth: true
showCloseButton: true
visible: false
type: Kirigami.MessageType.Warning
Connections {
target: handler
......@@ -77,12 +74,10 @@ SimpleKCM {
}
}
ListView {
view: ListView {
id: view
anchors.fill: parent
clip: true
width: parent.width
currentIndex: -1
boundsBehavior: Flickable.StopAtBounds
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment