Change the flickable area to a ScrollArea. Better for the desktop
This commit is contained in:
parent
69b16f0baf
commit
c90a4c1f12
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue