[Differential] [Request, 4 lines] D4160: [User Switcher] Just use Row's implicitWidth instead of calculating it manually

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Jan 16 13:58:49 UTC 2017


broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R114 Plasma Addons.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  I don't know what I was thinking when I implemented this but just use implicitWidth which is the correct width.
  
  Fixes the label potentially being wider than the applet swallowing the right panel margin when placed at the end of a panel.

TEST PLAN
  Tried in all modes (label only, icon only, label+icon) and the width was correct every time.

REPOSITORY
  R114 Plasma Addons

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

AFFECTED FILES
  applets/userswitcher/package/contents/ui/main.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170116/dafa9cfc/attachment.html>


More information about the Plasma-devel mailing list