summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-26 21:46:10 +0100
committerPapoteur <papoteur@mageia.org>2018-12-28 08:44:48 +0100
commitd0fe5db6b665fcb79b6bde09e1363906fed1f0a1 (patch)
treeb3a471181ac78b6a45a4f79cc155614b78c26aa1 /qml
parentff48b6d702d740330f70a789cb4b65d48a7fcf51 (diff)
downloadmageiawelcome-d0fe5db6b665fcb79b6bde09e1363906fed1f0a1.tar
mageiawelcome-d0fe5db6b665fcb79b6bde09e1363906fed1f0a1.tar.gz
mageiawelcome-d0fe5db6b665fcb79b6bde09e1363906fed1f0a1.tar.bz2
mageiawelcome-d0fe5db6b665fcb79b6bde09e1363906fed1f0a1.tar.xz
mageiawelcome-d0fe5db6b665fcb79b6bde09e1363906fed1f0a1.zip
Yellow band has adaptable height
Diffstat (limited to 'qml')
-rw-r--r--qml/mw-ui.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 57317aa..21475fe 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -465,14 +465,17 @@ Rectangle {
// Bandeau avertissement
id: warning
width: view.width
- height: 45
+ height: warnText.height
color: "gold"
- Label {anchors {verticalCenter: parent.verticalCenter; horizontalCenter: parent.horizontalCenter}
+ Label {
+ id: warnText
+ width: view.width
horizontalAlignment: TextInput.AlignHCenter
font.pixelSize: Qt.application.font.pixelSize * .9
text: qsTr("Here is a small selection of popular applications - any of which may be installed at this point (ensure that you enabled the <i>Media sources</i>).")+"<BR />"+
"You can install an application, or launch it if already installed. Longer software lists are scrollable."
textFormat: Text.RichText
+ wrapMode: Text.WordWrap
}
}
Row {