For our use case StackView works without explicit 'height', removing that to get rid of ReferenceError

This commit is contained in:
hygienic-books 2022-03-06 22:48:59 +01:00
parent 149b659eea
commit 454614b28a

View File

@ -254,7 +254,6 @@ Rectangle {
QQC2.StackView { QQC2.StackView {
id: mainStack id: mainStack
anchors.fill: parent anchors.fill: parent
height: root.height + PlasmaCore.Units.gridUnit * 3
// If true (depends on the style and environment variables), hover events are always accepted // If true (depends on the style and environment variables), hover events are always accepted
// and propagation stopped. This means the parent MouseArea won't get them and the UI won't be shown. // and propagation stopped. This means the parent MouseArea won't get them and the UI won't be shown.