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 Qt 4.7
import QtDesktop 0.1
Item { Item {
id: main id: main
state: "VIEW" state: "VIEW"
Flickable { ScrollArea {
id: scrollArea
anchors.fill: parent anchors.fill: parent
frame: false
contentHeight: sensorList.height contentHeight: sensorList.height
contentWidth: sensorList.width
SensorList { SensorList {
width: parent.width
id: sensorList id: sensorList
width: main.width-scrollArea.verticalScrollBar.width
} }
} }
} }