diff --git a/telldus-gui/Plugins/SchedulerGUISimple/Dialog.qml b/telldus-gui/Plugins/SchedulerGUISimple/Dialog.qml index 9fc226e4..8b7ab9a6 100644 --- a/telldus-gui/Plugins/SchedulerGUISimple/Dialog.qml +++ b/telldus-gui/Plugins/SchedulerGUISimple/Dialog.qml @@ -352,6 +352,8 @@ model: typeSelection delegate: typeSelectionRow 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? ListModel{ diff --git a/telldus-gui/Plugins/SchedulerGUISimple/main.qml b/telldus-gui/Plugins/SchedulerGUISimple/main.qml index 83eb3677..758f6d42 100644 --- a/telldus-gui/Plugins/SchedulerGUISimple/main.qml +++ b/telldus-gui/Plugins/SchedulerGUISimple/main.qml @@ -28,7 +28,7 @@ import "schedulerscripts.js" as Scripts } Rectangle { id: "deviceRow"; border.color: "blue"; width: parent.width-100; height:parent.height; - + clip: true MouseArea { id: deviceMouseArea anchors.fill: parent @@ -81,6 +81,8 @@ import "schedulerscripts.js" as Scripts //focus: true footer: addButtonComponent header: timeline + snapMode: ListView.SnapToItem + interactive: false } Component{