summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-08 20:49:03 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-08 20:49:03 +0800
commit68466e83785dbb5fcd5e8789e4eb928a472ef366 (patch)
tree2bda66b4a29d4b508727d6da517136e460de36af
parent1e550155aefeb9b51d0659664035cd90033db11a (diff)
Sign in title paragraph property is an alias
to provide more customisation, e.g. to have the colour / background changed for alert
-rw-r--r--SignIn.ui.qml5
1 files 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