From 6a2f9d2405da5f165ae5ed4c0e54484f0f2cb884 Mon Sep 17 00:00:00 2001 From: kokkiemouse Date: Sat, 3 Oct 2020 21:13:28 +0900 Subject: [PATCH] fixed sldide Signed-off-by: kokkiemouse --- .../usr/share/calamares/branding/serene/show.qml | 41 ++++++---------------- 1 file changed, 10 insertions(+), 31 deletions(-) diff --git a/channels/share/airootfs/usr/share/calamares/branding/serene/show.qml b/channels/share/airootfs/usr/share/calamares/branding/serene/show.qml index c7f9ab7..12f1438 100644 --- a/channels/share/airootfs/usr/share/calamares/branding/serene/show.qml +++ b/channels/share/airootfs/usr/share/calamares/branding/serene/show.qml @@ -27,42 +27,21 @@ Presentation { id: presentation - Timer { - interval: 20000 - running: true - repeat: true - onTriggered: presentation.goToNextSlide() - } Slide { - Text { - anchors.horizontalCenter: background1.horizontalCenter - anchors.top: background1.bottom - text: qsTr("Slide_Text_1") - wrapMode: Text.WordWrap - width: 800 - horizontalAlignment: Text.Center - } - } - - Slide { - Text { - anchors.horizontalCenter: background2.horizontalCenter - anchors.top: background2.bottom - text: qsTr("Slide_Text_2") - wrapMode: Text.WordWrap - width: 800 - horizontalAlignment: Text.Center + Image { + id: background + source: "log-512.png" + width: 200; height: 200 + fillMode: Image.PreserveAspectFit + anchors.centerIn: parent } - } - - Slide { Text { - anchors.horizontalCenter: background3.horizontalCenter - anchors.top: background3.bottom - text: qsTr("Slide_Text_3") + anchors.horizontalCenter: background.horizontalCenter + anchors.top: background.bottom + text: "Installing now...." wrapMode: Text.WordWrap - width: 800 + width: presentation.width horizontalAlignment: Text.Center } } -- 2.11.0