get rid of outer scrollview

unbreaks wheel for modules
This commit is contained in:
Marco Martin 2013-08-26 14:57:15 +02:00
parent 357c964956
commit 01f041b3ef

View File

@ -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