Bugfixes on Maemo5 platform
[quicknewsreader] / qml / QuickNewsReader / content / view / Categories.qml
1 import QtQuick 1.0
2
3 Rectangle {
4
5     id: categoriesRect
6     width: window.width; height: window.height
7     color: "#efefef"
8
9     ListView {
10         focus: true
11         id: categories
12         x: 0; y: 0
13         width: window.width; height: window.height
14         model: currentSource.listModels[componentDepth-1]
15         //footer: getFooter()
16         delegate: CategoryDelegate { }
17         highlight: Rectangle { color: "steelblue" }
18         highlightMoveSpeed: 9999999
19     }
20     ScrollBar { scrollArea: categories; height: categories.height; width: 8; anchors.right: categories.right }
21
22     Component.onCompleted: categories.currentIndex = -1
23 }