D7472: Don't elide UserDelegate text when there's only one item

David Edmundson noreply at phabricator.kde.org
Wed Aug 23 07:58:34 UTC 2017


davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  In the lock screen the user delegate has to elide the text when there
  are multiple items next to each other, otherwise it will overlap.
  
  When there's only one item (which is quite common) we don't need to 
  and doing so looks weird.

TEST PLAN
  Modified SDDM dummydata/userModel to have one entry with a long name
  and back to multiple entries.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D7472

AFFECTED FILES
  lookandfeel/contents/components/UserDelegate.qml
  lookandfeel/contents/components/UserList.qml
  lookandfeel/contents/logout/Logout.qml

To: davidedmundson, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170823/0abe3d2a/attachment.html>


More information about the Plasma-devel mailing list