Index: sources/gui/qml/pages/treatment/TreatmentTrends.qml =================================================================== diff -u -rc70815ad2b3beadf61832f2e4d12eb90d476e020 -r56d6ed00b13ebfeba45c999e73d0198e702e1961 --- sources/gui/qml/pages/treatment/TreatmentTrends.qml (.../TreatmentTrends.qml) (revision c70815ad2b3beadf61832f2e4d12eb90d476e020) +++ sources/gui/qml/pages/treatment/TreatmentTrends.qml (.../TreatmentTrends.qml) (revision 56d6ed00b13ebfeba45c999e73d0198e702e1961) @@ -15,7 +15,7 @@ // Qt import QtQuick 2.12 -import QtGraphicalEffects 1.12 +// import QtGraphicalEffects 1.12 // Project // Qml imports @@ -43,7 +43,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 } @@ -55,18 +55,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" @@ -175,7 +175,7 @@ width : _private.paramWidth height : _private.cellHeight enabled : true - + Text { id: _valueText objectName : "_valueText" anchors.centerIn : parent @@ -348,7 +348,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)