D6764: Add font size setting to the digital clock plasmoid

Chris Holland noreply at phabricator.kde.org
Wed Jul 19 18:14:35 UTC 2017


Zren added inline comments.

INLINE COMMENTS

> DigitalClock.qml:473
>                      italic: plasmoid.configuration.italicText
> -                    pixelSize: 1024
> +                    pointSize: plasmoid.configuration.fontSize
>                  }

We use `font.pixelSize` to avoid the size "jumping" when it fits to a smaller panel the size can fit.

https://bugs.kde.org/show_bug.cgi?id=370156

Use `font.pixelSize: plasmoid.configuration.fontSize * units.devicePixelRatio`

REPOSITORY
  R120 Plasma Workspace

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

To: januz, #plasma, #vdg
Cc: Zren, mart, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170719/aaf1de84/attachment.html>


More information about the Plasma-devel mailing list