--cfcc3158dc504cb7835ce86a5f50f0ed Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit davidedmundson created this revision. davidedmundson added a reviewer: Plasma. davidedmundson added a subscriber: jsalatas. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. REVISION SUMMARY A better way to achieve center aligning is to use the alignment property of QtQuick.Text. This looks the same but because we now have left and right anchors text gets elided properly rather than overflowing out the box. TEST PLAN Opened, looks identical REPOSITORY rPLASMADESKTOP Plasma Desktop BRANCH master REVISION DETAIL https://phabricator.kde.org/D2901 AFFECTED FILES applets/kickoff/package/contents/ui/KickoffConfigurationButton.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmundson, #plasma Cc: jsalatas, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas --cfcc3158dc504cb7835ce86a5f50f0ed Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable davidedmundson=20created=20this=20revision.davidedmundson=20added=20a=20reviewer:=20Plasma.davidedmundson= =20added=20a=20subscriber:=20jsalatas.Restricted=20Application=20ad= ded=20a=20project:=20Plasma.Restricted=20Application=20added=20a=20= subscriber:=20plasma-devel. View=20Revision
REVISION=20SUMMARY

A=20better=20way=20to= =20achieve=20center=20aligning=20is=20to=20use=20the=20alignment=20property= of=20QtQuick.Text.

This=20looks=20the=20same=20but=20because=20we=20now=20have=20left=20and= =20right=20anchors=20text gets=20elided=20properly=20rather=20than=20overflowing=20out=20the=20box.

TEST=20PLAN

Opened,=20lo= oks=20identical

REPOSITORY
rPLASMADESKTOP=20Plasma=20Desktop
BRANCH
master
RE= VISION=20DETAIL
https://phabricator.kde.org/D2901
AFFECTED=20FILES
applets/kickoff/packag= e/contents/ui/KickoffConfigurationButton.qml
= EMAIL=20PREFERENCES
https://phabr= icator.kde.org/settings/panel/emailpreferences/
To:=20davidedmundson,=20PlasmaCc:=20jsalatas,=20plasma-devel,=20lesliezhai,=20ali-mohamed,=20jensreuterberg= ,=20abetts,=20sebas --cfcc3158dc504cb7835ce86a5f50f0ed--