@@ -30,8 +30,7 @@ Item {
3030
3131 LoginAreaContainer {
3232 height: units.gu(5) * sessionsList.model.count
33− //width: parent.width
34− width: units.gu(36)
33+ width: parent.width
3534
3635 anchors {
3736 left: parent.left
@@ -66,15 +65,30 @@ Item {
6665
6766 highlight: Rectangle {
6867 color:"transparent"
69−
7068 border {
7169 color: theme.palette.normal.positionText
7270 width: units.gu(0.2)
7371 }
72+
73+ visible: sessionsList.currentItem.visible
74+ y: sessionsList.currentItem.y
7475 }
7576
7677 delegate: ListItem {
78+ id: delegate
79+
7780 divider.visible: false
81+ visible: y > sessionsList.headerItem.y
82+ + sessionsList.headerItem.height
83+ - sessionsList.anchors.margins
84+ && (y + height) < root.height
85+
86+ onYChanged: console.log("jam")
87+ MouseArea {
88+ anchors.fill: parent
89+ onClicked: sessionsList.currentIndex = index
90+ }
91+
7892 ListItemLayout {
7993 id: layout
8094