on xenial help sign in
Fix badge highlight
commitcc623b507874d9397e569fd66626df09f04d53bf authorJosh Arenson <joshua.arenson@canonical.com> dateMon 8 Aug 2016, 16:57 (10 years ago) parent6468b8a
1 file changed+16−3
qml/Greeter/LoginList.qml+16−3
qml/Greeter/LoginList.qml+16−3
@@ -241,8 +241,8 @@ StyledItem {
241241 visible: LightDMService.sessions.count > 1 &&
242242 !LightDMService.users.data(userList.currentIndex, LightDMService.userRoles.LoggedInRole)
243243
244− height: units.gu(3)
245− width: units.gu(3)
244+ height: units.gu(3.4)
245+ width: units.gu(3.4)
246246
247247 anchors {
248248 right: highlightItem.right
@@ -252,11 +252,24 @@ StyledItem {
252252 topMargin: units.gu(1.5)
253253 }
254254
255+ Rectangle {
256+ id: badgeHighlight
257+
258+ anchors.fill: parent
259+ visible: parent.activeFocus
260+ color: "transparent"
261+ border.color: theme.palette.normal.focus
262+ border.width: units.dp(1)
263+ radius: 3
264+
265+ }
266+
255267 Icon {
256268 id: badge
257269 anchors.fill: parent
270+ anchors.margins: units.dp(3)
258271 keyColor: "#ffffff" // icon providers give us white icons
259− color: parent.activeFocus ? theme.palette.normal.selection : theme.palette.normal.raisedSecondaryText
272+ color: theme.palette.normal.raisedSecondaryText
260273 source: LightDMService.sessions.iconUrl(root.currentSession)
261274 }
262275