Index: sources/gui/qml/components/HelpNotification.qml =================================================================== diff -u -r1286d74bd015276aab604808be2766136091c125 -r63cfc740032cefc566aa56da31867dbc6cf4c91e --- sources/gui/qml/components/HelpNotification.qml (.../HelpNotification.qml) (revision 1286d74bd015276aab604808be2766136091c125) +++ sources/gui/qml/components/HelpNotification.qml (.../HelpNotification.qml) (revision 63cfc740032cefc566aa56da31867dbc6cf4c91e) @@ -18,7 +18,6 @@ height : parent.height rowAnchors { centerIn: undefined - left : parent.left } } } Index: sources/gui/qml/dialogs/NotificationDialog.qml =================================================================== diff -u -r1286d74bd015276aab604808be2766136091c125 -r63cfc740032cefc566aa56da31867dbc6cf4c91e --- sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision 1286d74bd015276aab604808be2766136091c125) +++ sources/gui/qml/dialogs/NotificationDialog.qml (.../NotificationDialog.qml) (revision 63cfc740032cefc566aa56da31867dbc6cf4c91e) @@ -130,61 +130,27 @@ top : parent.top topMargin : Variables.defaultMargin * 3 } - } -// Item { id: _infoItem -// anchors { -// left : parent.left -// leftMargin : Variables.defaultMargin * 4 -// top : parent.top -// topMargin : Variables.defaultMargin * 3 -// } -// height : 35 -// width : parent.width / 2 - -// NotificationBarSmall { id: _infoNotificationBar -// color : "transparent" -// imageSource : "qrc:/images/iHelp" -// imageVisible : true -// text : qsTr("TAP THE STEP NUMBER TO VIEW IMAGE") -// textColor : "#3682ED" -// imageDiameter : 25 -// imageTopMargin : 3 -// textfontWeight : Font.DemiBold -// height : parent.height -// rowAnchors { -// centerIn: undefined -// left : parent.left -// } -// } -// } - ListView {id: _listView anchors { top : _infoItem.bottom topMargin : Variables.defaultMargin bottom : parent.bottom left : parent.left leftMargin : Variables.defaultMargin * 4 - right : parent.right - rightMargin : Variables.defaultMargin * 3 - margins : Variables.defaultMargin - } - spacing : Variables.defaultMargin * 3 - width : _descriptionRect.width height : _descriptionRect.height width : _descriptionRect.width / 2 currentIndex: 0 interactive : false clip : true - delegate: Item { id: _delegateControl - width : _listView.width - height : Variables.instructionHeight - clip : true + delegate: Item { id: _delegateControl + width : _listView.width + height : Variables.instructionHeight + clip : true Rectangle { id: _stepRect height : 40 @@ -204,31 +170,23 @@ font.weight : Font.Medium } - layer.enabled : true - layer.effect : DropShadow { id: _dropShadow - horizontalOffset: 0 - verticalOffset : 3 - radius : 3.0 - samples : 7 - color : "#50000000" - source : _stepRect - anchors.fill : _stepRect - } + layer.enabled : true + layer.effect : DropShadow { id: _dropShadow + horizontalOffset: 0 + verticalOffset : 3 + radius : 3.0 + samples : 7 + color : "#50000000" + source : _stepRect + anchors.fill : _stepRect } + } - Text { id: _delegateText - anchors { - left : _stepRect.right - leftMargin : Variables.defaultMargin - right : _delegateControl.right - } - height : parent.height - width : parent.width - font.pixelSize : 23 - font.weight : _delegateControl.ListView.isCurrentItem ? Font.DemiBold : Font.Normal - color : _delegateControl.ListView.isCurrentItem ? "#18559E" : Colors.alarmDialogText - text : model.instruction - wrapMode : Text.WordWrap + Text { id: _delegateText + anchors { + left : _stepRect.right + leftMargin : Variables.defaultMargin + right : _delegateControl.right } height : parent.height width : parent.width @@ -239,17 +197,17 @@ wrapMode : Text.WordWrap } - MouseArea { - anchors.fill: parent - onClicked: { - if (_listView.currentIndex !== index) { - _listView.currentIndex = index - _root.figureImageSource = model.image - } + MouseArea { + anchors.fill: parent + onClicked: { + if (_listView.currentIndex !== index) { + _listView.currentIndex = index + _root.figureImageSource = model.image } } } } + } Image { id: _figureImage anchors.right : parent.right