Index: sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml =================================================================== diff -u -rd27d1a0cd3a0dd7ac8a7dd5cf1a66ca0e038e8dd -r93b7d7da5dea9e0392e139b59117eb0315d6c343 --- sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision d27d1a0cd3a0dd7ac8a7dd5cf1a66ca0e038e8dd) +++ sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision 93b7d7da5dea9e0392e139b59117eb0315d6c343) @@ -24,14 +24,15 @@ property bool editEnabled : true property bool showLock : false property bool showEdit : true + property int titleLeftMargin: Variables.defaultMargin * 2 signal editClicked signal lockClicked - color: Colors.treatmentSectionHeader + color : Colors.treatmentSectionHeader height : Variables.contentHeight + (Variables.defaultMargin * 2) width : parent.width - radius: 15 + radius : 15 anchors.top: parent.top @@ -43,9 +44,9 @@ Text { id: _title anchors { - verticalCenter: parent.verticalCenter - left : parent.left - leftMargin : Variables.defaultMargin * 2 + verticalCenter : parent.verticalCenter + left : parent.left + leftMargin : _root.titleLeftMargin } text: title