D16420: Sync desktop switch OSD font size to Plasma OSD font size

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Plasma's OSDs for volume/screens etc use PlasmaExtras.Heading, this
  should to.
  
  Also correct centering text to constrain the text element and align the
  text within that bounding box. Previous code could have overflown in the
  event of a really really long desktop name if we're resizing to the grid.
  
  BUG: 356600

TEST PLAN
  Switched desktop with OSD on
  Tried with and without "show desktop layout indicators"

REPOSITORY
  R108 KWin

BRANCH
  nov5

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

AFFECTED FILES
  scripts/desktopchangeosd/contents/ui/osd.qml

To: davidedmundson, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.