@@ -30,8 +30,7 @@ Item {
31 LoginAreaContainer {
31 LoginAreaContainer {
32 height: units.gu(5) * sessionsList.model.count
32 height: units.gu(5) * sessionsList.model.count
33− //width: parent.width
33+ width: parent.width
37 left: parent.left
36 left: parent.left
@@ -66,15 +65,30 @@ Item {
67 highlight: Rectangle {
66 highlight: Rectangle {
68 color:"transparent"
67 color:"transparent"
71 color: theme.palette.normal.positionText
69 color: theme.palette.normal.positionText
72 width: units.gu(0.2)
70 width: units.gu(0.2)
73+ visible: sessionsList.currentItem.visible
74+ y: sessionsList.currentItem.y
76 delegate: ListItem {
77 delegate: ListItem {
77 divider.visible: false
80 divider.visible: false
81+ visible: y > sessionsList.headerItem.y
82+ + sessionsList.headerItem.height
83+ - sessionsList.anchors.margins
84+ && (y + height) < root.height
86+ onYChanged: console.log("jam")
89+ onClicked: sessionsList.currentIndex = index
78 ListItemLayout {
92 ListItemLayout {
79 id: layout
93 id: layout