on xenial help sign in
Handle highlighting ourselves because of issues
d2431d4Josh Arenson
qml/Greeter/SessionsList.qml+14−14
@@ -29,7 +29,7 @@ Item {
29 signal showLoginList()
29 signal showLoginList()
30
30
31 LoginAreaContainer {
31 LoginAreaContainer {
32− height: units.gu(5) * sessionsList.model.count
32+ height: units.gu(30)
33 width: parent.width
33 width: parent.width
34
34
35 anchors {
35 anchors {
@@ -74,19 +74,7 @@ Item {
74 }
74 }
75
75
76 headerPositioning: ListView.OverlayHeader
76 headerPositioning: ListView.OverlayHeader
77−
77+ highlightFollowsCurrentItem: false
78− /*highlight: Component {
79− Rectangle {
80− color:"transparent"
81− border {
82− color: theme.palette.normal.positionText
83− width: units.gu(0.2)
84− }
85−
86− visible: sessionsList.currentItem.visible
87− }
88− }*/
89−
90 delegate: ListItem {
78 delegate: ListItem {
91 id: delegate
79 id: delegate
92
80
@@ -104,6 +92,18 @@ Item {
104 }
92 }
105 }
93 }
106
94
95+ Rectangle {
96+ height: parent.height
97+ width: parent.width
98+ color: "transparent"
99+ border {
100+ color: theme.palette.normal.positionText
101+ width: units.gu(0.2)
102+ }
103+
104+ visible: index === sessionsList.currentIndex
105+ }
106+
107 ListItemLayout {
107 ListItemLayout {
108 id: layout
108 id: layout
109
109