Diffusion KWin fe07909cd8d2

[desktopchangeosd] Sync desktop switch OSD font size to Plasma OSD font size

Authored by davidedmundson on Oct 28 2018, 4:46 PM.

Description

[desktopchangeosd] Sync desktop switch OSD font size to Plasma OSD font size

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"

Reviewers: KWin, graesslin

Reviewed By: KWin, graesslin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16420

Details

Committed
davidedmundsonOct 28 2018, 4:46 PM
Reviewer
KWin
Differential Revision
D16420: Sync desktop switch OSD font size to Plasma OSD font size
Parents
R108:951dfd10366b: Minor grammar fixup in comment
Branches
Unknown
Tags
Unknown