Index: sources/gui/qml/compounds/InstructionView.qml =================================================================== diff -u -r0bc5c7e5752e76707f92b9ef1ecfe54b0c5ead29 -rac81e21684bfb1c72b8ef86bfeda04e174e5066e --- sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision 0bc5c7e5752e76707f92b9ef1ecfe54b0c5ead29) +++ sources/gui/qml/compounds/InstructionView.qml (.../InstructionView.qml) (revision ac81e21684bfb1c72b8ef86bfeda04e174e5066e) @@ -31,22 +31,12 @@ radius : Variables.alarmDialogRadius clip : true - onVisibleChanged: if (visible) { _autoStepControl.isPlaying = false } + onVisibleChanged: if (visible) { _autoStepController.isPlaying = false } - AutoStepController { id: _autoStepControl - anchors { - left : parent.left - leftMargin : Variables.defaultMargin * 3 - verticalCenter : _title.verticalCenter - } - - onTriggered : _root.currentIndex = (_root.currentIndex + 1) % _instrutionSteps.count - } - Text { id: _title anchors { - left : _autoStepControl.right - leftMargin : Variables.defaultMargin * 2 // with current resolution this makes the screen look nice + left : parent.left + leftMargin : Variables.defaultMargin * 3 // with current resolution this makes the screen look nice top : parent.top topMargin : Variables.defaultMargin * 2 // with current resolution this makes the screen look nice } @@ -59,23 +49,26 @@ Item { id: _instructionContainer anchors { right : _root.right - left : _autoStepControl.left + left : _title.left top : _title.bottom bottom : _root.bottom } - HelpNotification { id: _infoItem + AutoStepController { id: _autoStepController anchors { left : parent.left top : parent.top - topMargin : Variables.defaultMargin + topMargin : Variables.defaultMargin * 2 } + width : parent.width / 2 + + onTriggered : _root.currentIndex = (_root.currentIndex + 1) % _instrutionSteps.count } Column { id: _contentColumn anchors { - top : _infoItem.bottom - topMargin : Variables.defaultMargin + top : _autoStepController.bottom + topMargin : Variables.defaultMargin * 2.5 } spacing : 5