get rid of outer scrollview
unbreaks wheel for modules
This commit is contained in:
parent
357c964956
commit
01f041b3ef
@ -157,25 +157,14 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QtControls.ScrollView {
|
|
||||||
id: pageScroll
|
QtControls.StackView {
|
||||||
|
id: main
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Flickable {
|
|
||||||
contentWidth: width
|
|
||||||
contentHeight: main.height
|
|
||||||
Item {
|
|
||||||
width: parent.width
|
|
||||||
height: childrenRect.height
|
|
||||||
QtControls.StackView {
|
|
||||||
id: main
|
|
||||||
anchors {
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
}
|
|
||||||
height: Math.max(pageScroll.height, currentItem != null ? currentItem.implicitHeight : 0)
|
height: Math.max(pageScroll.height, currentItem != null ? currentItem.implicitHeight : 0)
|
||||||
property string sourceFile
|
property string sourceFile
|
||||||
Timer {
|
Timer {
|
||||||
@ -202,9 +191,7 @@ Rectangle {
|
|||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: buttonsRow
|
id: buttonsRow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user