Change the flickable area to a ScrollArea. Better for the desktop

This commit is contained in:
Micke Prag 2012-01-13 15:50:21 +01:00
parent 69b16f0baf
commit c90a4c1f12

View file

@ -1,17 +1,21 @@
import Qt 4.7
import QtDesktop 0.1
Item {
id: main
state: "VIEW"
Flickable {
ScrollArea {
id: scrollArea
anchors.fill: parent
frame: false
contentHeight: sensorList.height
contentWidth: sensorList.width
SensorList {
width: parent.width
id: sensorList
width: main.width-scrollArea.verticalScrollBar.width
}
}
}