From 68466e83785dbb5fcd5e8789e4eb928a472ef366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 8 Mar 2023 20:49:03 +0800 Subject: Sign in title paragraph property is an alias to provide more customisation, e.g. to have the colour / background changed for alert --- SignIn.ui.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SignIn.ui.qml b/SignIn.ui.qml index de2a242..da66b5f 100644 --- a/SignIn.ui.qml +++ b/SignIn.ui.qml @@ -4,7 +4,7 @@ import QtQuick.Layouts 1.15 Flickable { property string titleHeader: qsTr("Login into Eduport!") - property string titleParagraph: qsTr("Nice to see you! Please log in with your account.") + property alias titleParagraph: titleParagraph property string emailLabel: qsTr("Email address *") property string emailImage: "Bootstrap/icons/envelope-fill.svg" property alias email: email @@ -61,7 +61,8 @@ Flickable { } Label { - text: titleParagraph + id: titleParagraph + text: qsTr("Nice to see you! Please log in with your account.") color: "#6c757d" wrapMode: Text.Wrap Layout.fillWidth: true -- cgit v1.2.3