D20598: [WIP] Port kcm energy info to kirigami 2, fix colors issues

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Apr 16 10:25:59 BST 2019


broulik added a comment.


  > way to align Kirigami.FormLayout together in a repeater.
  
  Check out the `twinFormLayouts` property where you can have it manage multiple different `FormLayout` instances as a single layout

INLINE COMMENTS

> main.qml:21
> +import QtQuick 2.5
>  import QtQuick.Controls 1.3
> +import QtQuick.Controls 2.3 as QQC2

and also getting rid of QQC1

> main.qml:29
>  //We need units from it
>  import org.kde.plasma.core 2.0 as PlasmaCore
>  import org.kde.plasma.extras 2.0 as PlasmaExtras

A goal is to get rid of these plasma imports, too

> main.qml:459
> +                                        Layout.fillWidth: true
> +                                        color: sysPal.text
> +                                        text: {

Shouldn't be neccessary as it's `QQC2.Label`

REPOSITORY
  R102 KInfoCenter

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

To: meven
Cc: broulik, plasma-devel, jraleigh, GB_2, 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/20190416/47287167/attachment-0001.html>


More information about the Plasma-devel mailing list