From 3ff65dd7cfec1f4af0936f453029f38ca407d680 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 12 Jan 2020 14:58:21 +0100 Subject: [PATCH] mobile-widgets: update design of TemplateSection Update size and colors. Changing the TemplateSection, automatically changes all sections in the system, converted to the new layout. The styling would be better in a style/theme class, but subsurfaceTheme is in main.qml and not in a C++ class, so for now use primitive styling. Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/TemplateSection.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-widgets/qml/TemplateSection.qml b/mobile-widgets/qml/TemplateSection.qml index 3bebaca9b..818fce3f1 100644 --- a/mobile-widgets/qml/TemplateSection.qml +++ b/mobile-widgets/qml/TemplateSection.qml @@ -4,7 +4,7 @@ import QtQuick.Controls 2.4 import QtQuick.Layouts 1.11 Column { - width: parent.width -20 + width: parent.width property string title: "no title" property bool isExpanded: false