Index: sources/gui/qml/pages/treatment/TreatmentTrends.qml =================================================================== diff -u -r9b6a2029835c67d61267fad0483a22a916a5eb2f -r60f7e69f5293422fbc2229bc2fb30fd75598a75a --- sources/gui/qml/pages/treatment/TreatmentTrends.qml (.../TreatmentTrends.qml) (revision 9b6a2029835c67d61267fad0483a22a916a5eb2f) +++ sources/gui/qml/pages/treatment/TreatmentTrends.qml (.../TreatmentTrends.qml) (revision 60f7e69f5293422fbc2229bc2fb30fd75598a75a) @@ -15,7 +15,7 @@ // Qt import QtQuick 2.12 -import QtGraphicalEffects 1.12 +// import QtGraphicalEffects 1.12 // Project // Qml imports @@ -44,7 +44,7 @@ readonly property int labelWidth : 300 readonly property int scrollButtonWidth : 40 readonly property int paramAreaRightMargin : 5 - readonly property int paramWidth : + readonly property int paramWidth : (_root.width - Variables.defaultMargin - labelWidth - scrollButtonWidth - paramAreaRightMargin - _expandButton.width) / 7 readonly property int historyTimeWidth : 50 } @@ -56,18 +56,18 @@ height : _private.topHeaderHeight radius : 10 color : Colors.treatmentSectionHeader - layer { - enabled: true - effect: DropShadow { id: _topHeaderShadow - objectName : "_topHeaderShadow" - horizontalOffset: 2 - verticalOffset : 2 - radius : 12 - samples : 32 - color : "#50000000" - source : _header - } - } + // layer { + // enabled: true + // effect: DropShadow { id: _topHeaderShadow + // objectName : "_topHeaderShadow" + // horizontalOffset: 2 + // verticalOffset : 2 + // radius : 12 + // samples : 32 + // color : "#50000000" + // source : _header + // } + // } Text { id: _text objectName : "_text" @@ -176,7 +176,7 @@ width : _private.paramWidth height : _private.cellHeight enabled : true - + Text { id: _valueText objectName : "_valueText" anchors.centerIn : parent @@ -349,7 +349,7 @@ objectName: "_paramList" readonly property int visibleParamCount: _paramArea.isExpanded ? 7 : 5 readonly property int modelCount: _paramList.count ?? 0 - + anchors { fill : parent rightMargin : (Math.max(0, visibleParamCount - _paramList.count) * _private.paramWidth)