From b63a8f85970347aeac4902205cca2bd3278fb161 Mon Sep 17 00:00:00 2001 From: Antony Baker Date: Fri, 4 Jan 2019 10:09:14 +0000 Subject: Media Sources: 1) add gradient to Backports. 2) change bg colour for Backports & Notes (text legibility). 3) make white text bold, to further help legibility of white text. --- qml/mw-ui.qml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index e51f318..fa28eba 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -120,7 +120,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("core"); } + text: qsTr("core"); font.bold: true; } } Label { text: qsTr("- the free-open-source packages"); @@ -144,7 +144,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("nonfree"); + text: qsTr("nonfree"); font.bold: true; color: "white"} } Label { @@ -169,7 +169,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("tainted"); + text: qsTr("tainted"); font.bold: true; color: "white" } } Label { @@ -178,13 +178,21 @@ Rectangle { Layout.maximumWidth: slideshow.width * .8 color: "white" } - Rectangle { - color: "lightgrey" + Rectangle {id: backports + LinearGradient { + anchors.fill: parent + start: Qt.point(0, 0) + end: Qt.point(0, 20) + gradient: Gradient { + GradientStop { position: 0.0; color: "lightgray" } + GradientStop { position: 1.0; color: "darkgray" } + } + } width: 80; height: 30 Layout.alignment: Qt.AlignTop Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("backports"); } + text: qsTr("backports"); font.bold: true; } } Label { text: qsTr("- includes software published after a Mageia release, or another version of software already present and not replaced."); @@ -208,13 +216,13 @@ Rectangle { } } Rectangle {id: noteBg - color: "gold"; + color: "#e6c200"; width: 70 height: 30 Layout.alignment: Qt.AlignTop Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("Note! ") + text: qsTr("Note! "); font.bold: true; } } Label { text: qsTr("If you enabled the online repositories during installation, some media sources should be installed already. Otherwise, we will now configure these online repositories. -- cgit v1.2.1