D27117: [Applet]Fix long device name

George Vogiatzis noreply at phabricator.kde.org
Mon Feb 3 10:14:39 GMT 2020


gvgeo created this revision.
gvgeo added reviewers: Plasma, VDG, drosca, ngraham, davidedmundson.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
gvgeo requested review of this revision.

REVISION SUMMARY
  Limit label maximum width.
  Set and use implicit sizes to avoid binding loops.
  
  Note: Didn't make use fillWidth because we need the button area to be
  only on the text, and not in the empty area.

TEST PLAN
  Use applet outside of systemtray and limit it's width.
  If device description is not long enough, enable in the configuration
  "Add virtual output device for simultaneous output on all local sound cars".
  Before: Hamburger menu moves to the right, and there is no eliding.
  After: Proper display.
  
  BUG: 417074

REPOSITORY
  R115 Plasma Audio Volume Applet

BRANCH
  labelWidth (branched from master)

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

AFFECTED FILES
  applet/contents/ui/ListItemBase.qml

To: gvgeo, #plasma, #vdg, drosca, ngraham, davidedmundson
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200203/88d4dc80/attachment.html>


More information about the Plasma-devel mailing list