Commit f56e800c authored by Filip Fila's avatar Filip Fila 🌆
Browse files

Use the same avatar size in lock, login and logout screens

Currently the avatar in the logout screen is noticeably smaller than the avatar in the lock and logout screens.

This patch roughly bases the size value on what is produced in the lock and logout, and then applies it to the logout screen.

Test Plan:
Before (logout screen):

After (logout screen):

Before (lock screen):

After (lock screen):

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: davidedmundson, ngraham, plasma-devel

Tags: #plasma

Maniphest Tasks: T11093

Differential Revision:
parent f32d0389
......@@ -41,7 +41,7 @@ Item {
property int fontSize: config.fontSize
signal clicked()
property real faceSize: Math.min(width, height - usernameDelegate.height - units.smallSpacing)
property real faceSize: units.gridUnit * 7
opacity: isCurrent ? 1.0 : 0.5
......@@ -117,7 +117,7 @@ PlasmaCore.ColorScope {
onClicked: root.cancelRequested()
UserDelegate {
width: units.iconSizes.enormous
width: units.gridUnit * 7
height: width
nameFontSize: theme.defaultFont.pointSize + 2
anchors {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment