summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/TemplateSection.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-12 14:58:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-25 17:25:54 -0800
commit3ff65dd7cfec1f4af0936f453029f38ca407d680 (patch)
treedc2a307b33381eb640cfb75e8c4d330b18c5169d /mobile-widgets/qml/TemplateSection.qml
parenta97a6d607c5ddced39a47a4385153a54eff7bc47 (diff)
downloadsubsurface-3ff65dd7cfec1f4af0936f453029f38ca407d680.tar.gz
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 <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/TemplateSection.qml')
-rw-r--r--mobile-widgets/qml/TemplateSection.qml2
1 files changed, 1 insertions, 1 deletions
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