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

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

Summary:
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):
{F7680624}

After (logout screen):
{F7680632}

Before (lock screen):
{F7680634}

After (lock screen):
{F7680635}

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: davidedmundson, ngraham, plasma-devel

Tags: #plasma

Maniphest Tasks: T11093

Differential Revision: https://phabricator.kde.org/D25024
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