1/* GCompris - Tutorial1.qml
2 *
3 * SPDX-FileCopyrightText: 2019 Deepak Kumar <deepakdk2431@gmail.com>
4 *
5 * Authors:
6 *   Deepak Kumar <deepakdk2431@gmail.com>
7 *
8 *   SPDX-License-Identifier: GPL-3.0-or-later
9 */
10import QtQuick 2.9
11import GCompris 1.0
12
13import "../../../core"
14
15Rectangle {
16    id: tutorialRectangle
17    anchors.fill: parent
18    color: "#80FFFFFF"
19
20    GCText {
21        id: remainder
22        text: qsTr("The remainder is the amount \"left over\" after dividing a number with another number.\n If 6 is divided by 2 the result is 3 and the remainder is 0.\n If 7 is divided by 2 the result is 3 and the remainder is 1.")
23        fontSizeMode: Text.Fit
24        fontSize: mediumSize
25        anchors.left: tutorialRectangle.left
26        anchors.leftMargin: parent.height * 0.01
27        color: "black"
28        horizontalAlignment: Text.AlignLeft
29        width: parent.width
30        height: parent.height
31        wrapMode: Text.WordWrap
32        z: 2
33    }
34}
35