Index: sources/gui/qml/pages/treatment/TreatmentBegin.qml =================================================================== diff -u -r810e4b12507feba688c3ea2ab045040214661298 -rfac59d7894468db257f120e58e19324a32fcbe0f --- sources/gui/qml/pages/treatment/TreatmentBegin.qml (.../TreatmentBegin.qml) (revision 810e4b12507feba688c3ea2ab045040214661298) +++ sources/gui/qml/pages/treatment/TreatmentBegin.qml (.../TreatmentBegin.qml) (revision fac59d7894468db257f120e58e19324a32fcbe0f) @@ -45,8 +45,7 @@ } - Flickable { - id: _flickable + Flickable { id: _flickable anchors.top: _topMenuBar.bottom anchors.left: parent.left anchors.bottom: parent.bottom @@ -55,9 +54,19 @@ contentHeight: _column.implicitHeight clip: true - Column { - id: _column - spacing: Variables.cTreatmentSpacing + ScrollBar.vertical: ScrollBar { id: _scrollBar + anchors.right: _flickable.right + anchors.rightMargin: 3 + contentItem: Rectangle { + color: Colors.backgroundRangeRect + implicitWidth: 6 + radius: width / 2 + width: 3 + } + } + + Column { id: _column + spacing: Variables.treatmentSpacing anchors.horizontalCenter: parent.horizontalCenter; anchors.fill: parent; @@ -78,37 +87,6 @@ } } - states: [ - State { - when: _flickable.movingVertically - PropertyChanges { - target: _verticalScrollBar - opacity: 0.8 - } - } - ] - - ScrollBar { - anchors.top: _flickable.top - anchors.bottom: _flickable.bottom - id: _verticalScrollBar - size: _flickable.height / _column.implicitHeight - active: true - anchors.right: _flickable.right - anchors.rightMargin: 5 - opacity: 0 - orientation: Qt.Vertical - position: _flickable.visibleArea.yPosition - - contentItem: Rectangle { - color: Colors.backgroundRangeRect - implicitWidth: 6 - radius: width / 2 - width: 3 - } - - } - onVisibleChanged: { if (visible) { _mainMenu.hidden = true