D12069: Implement a keyboard selector plasmoid

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Apr 9 15:04:49 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> main.qml:38
> +    Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
> +    Plasmoid.compactRepresentation: PlasmaComponents.Label {
> +        fontSizeMode: Text.Fit

Also set `height: undefined`, I've seen issues where `Text.Fit` fails to shrink fully due to `PlasmaComponents.Label` default height

> davidedmundson wrote in main.qml:40
> can you use smallestReadableFont?

`theme.smallestFont` that is

> main.qml:48
> +            anchors.fill: parent
> +            hoverEnabled: true
> +

Unused

> main.qml:54
> +
> +    Plasmoid.status: layout.layouts.length>1 ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.PassiveStatus
> +    Plasmoid.toolTipMainText: i18n("Keyboard Layout")

Coding style, spaces

REPOSITORY
  R120 Plasma Workspace

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

To: apol, #plasma
Cc: broulik, davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180409/dc1837b4/attachment-0001.html>


More information about the Plasma-devel mailing list