From d0fe5db6b665fcb79b6bde09e1363906fed1f0a1 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 26 Dec 2018 21:46:10 +0100 Subject: Yellow band has adaptable height --- qml/mw-ui.qml | 7 +++++-- 1 file 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 Media sources).")+"
"+ "You can install an application, or launch it if already installed. Longer software lists are scrollable." textFormat: Text.RichText + wrapMode: Text.WordWrap } } Row { -- cgit v1.2.1