Cutting bars moving outside the listview, and preventing flicking in the listviews
This commit is contained in:
parent
3dea146233
commit
d67d32b42c
2 changed files with 5 additions and 1 deletions
|
@ -352,6 +352,8 @@
|
||||||
model: typeSelection
|
model: typeSelection
|
||||||
delegate: typeSelectionRow
|
delegate: typeSelectionRow
|
||||||
highlight: Rectangle { color: "lightsteelblue"; radius: 5 }
|
highlight: Rectangle { color: "lightsteelblue"; radius: 5 }
|
||||||
|
snapMode: ListView.SnapToItem
|
||||||
|
interactive: false
|
||||||
|
|
||||||
//TODO can these paths be turned into some kind of constants? Import from common file or something?
|
//TODO can these paths be turned into some kind of constants? Import from common file or something?
|
||||||
ListModel{
|
ListModel{
|
||||||
|
|
|
@ -28,7 +28,7 @@ import "schedulerscripts.js" as Scripts
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle { id: "deviceRow"; border.color: "blue"; width: parent.width-100; height:parent.height;
|
Rectangle { id: "deviceRow"; border.color: "blue"; width: parent.width-100; height:parent.height;
|
||||||
|
clip: true
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: deviceMouseArea
|
id: deviceMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -81,6 +81,8 @@ import "schedulerscripts.js" as Scripts
|
||||||
//focus: true
|
//focus: true
|
||||||
footer: addButtonComponent
|
footer: addButtonComponent
|
||||||
header: timeline
|
header: timeline
|
||||||
|
snapMode: ListView.SnapToItem
|
||||||
|
interactive: false
|
||||||
}
|
}
|
||||||
|
|
||||||
Component{
|
Component{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue