diff --git a/src/activities/railroad/Railroad.qml b/src/activities/railroad/Railroad.qml --- a/src/activities/railroad/Railroad.qml +++ b/src/activities/railroad/Railroad.qml @@ -527,7 +527,7 @@ z: score.z anchors { right: score.left - rightMargin: 10 + rightMargin: parent.height * 0.2 } ParticleSystemStarLoader { id: okButtonParticles diff --git a/src/core/Tutorial.qml b/src/core/Tutorial.qml --- a/src/core/Tutorial.qml +++ b/src/core/Tutorial.qml @@ -56,8 +56,7 @@ property var tutorialDetails /* Do we use image or qml files for illustrations */ - - property bool useImage : true + property bool useImage: true // Emitted when skipButton is clicked signal skipPressed @@ -166,7 +165,7 @@ // Image component for tutorial instructions Image { id: tutorialImage - enabled: useImage + visible: useImage width: parent.width * 0.8 height: (parent.height - nextButton.height) * 0.48 fillMode: Image.PreserveAspectFit @@ -177,7 +176,7 @@ horizontalCenter: parent.horizontalCenter } } - + // Alternative QML component for tutorial instructions Loader { id: tutorialQml @@ -191,5 +190,4 @@ horizontalCenter: parent.horizontalCenter } } - }