Commit 36bf9e7a authored by Marco Martin's avatar Marco Martin
Browse files

fix layout of overlaysheet

makes the overlaysheet howit's supposed to be rendered:
since it's "global" in the app, it should be parented to the
applicationwindow overlay, and have a "non 100%" width, but something
based upon readability

Test Plan: {F7774628}

Reviewers: #discover_software_store, apol

Reviewed By: #discover_software_store, apol

Subscribers: apol, ngraham, plasma-devel

Tags: #plasma

Differential Revision:
parent 0ff74e4a
......@@ -39,9 +39,14 @@ Kirigami.AbstractListItem {
readonly property var v3: Component {
id: sheet
Kirigami.OverlaySheet {
parent: applicationWindow().overlay
header: Kirigami.Heading {
text: i18n("Tasks")
contentItem: ListView {
id: tasksView
spacing: 0
implicitWidth: Kirigami.Units.gridUnit * 30
Component {
id: listenerComp
......@@ -61,8 +66,7 @@ Kirigami.AbstractListItem {
readonly property QtObject listener: listenerComp.createObject(del, (model.transaction.resource ? {resource: model.transaction.resource} : {transaction: model.transaction}))
ColumnLayout {
width: parent.width
contentItem: ColumnLayout {
RowLayout {
Layout.fillWidth: true
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