diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 11:59:12 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-22 11:59:12 +0800 |
commit | 6366fd64c348778c31bddbbda9ca3e071d50e2ff (patch) | |
tree | 81cff07ebd5b364fd6d74df54d03b1d1beece6ce /Authentication/SignUp.ui.qml | |
parent | de28846eccfd0fed92ce5bde51292a5a70222308 (diff) |
Auth uses custom labels
Diffstat (limited to 'Authentication/SignUp.ui.qml')
-rw-r--r-- | Authentication/SignUp.ui.qml | 66 |
1 files changed, 9 insertions, 57 deletions
diff --git a/Authentication/SignUp.ui.qml b/Authentication/SignUp.ui.qml index 1ac51fa..8367fbf 100644 --- a/Authentication/SignUp.ui.qml +++ b/Authentication/SignUp.ui.qml @@ -3,6 +3,7 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import Bootstrap 5.3 import Eduport 1.4 +import "../Label" as Lbl import "../Button" as BsBtn Flickable { @@ -34,52 +35,29 @@ Flickable { ColumnLayout { id: columnLayout - Label { + Lbl.Hx { Layout.fillWidth: true text: titleHeader - wrapMode: Label.Wrap - font { - family: Eduport.hFont - .family - weight: Eduport.hFont - .weight - pointSize: 21.75 + font.pointSize: 21.75 + .013125 * columnLayout .width - } } - Label { + Lbl.Body { id: titleParagraph color: "#6c757d" text: qsTr("Nice to see you! Please Sign up with your account.") - wrapMode: Label.Wrap Layout.fillWidth: true - font { - family: Bootstrap - .bodyFont.family - weight: Bootstrap - .bodyFont.weight - pointSize: Eduport + font.pointSize: Eduport .leadFontSize - } } } ColumnLayout { - Label { + Lbl.Body { text: emailLabel - font { - family: Bootstrap - .bodyFont.family - weight: Bootstrap - .bodyFont.weight - pointSize: Bootstrap - .bodyFont - .pointSize - } } Rectangle { @@ -119,17 +97,8 @@ Flickable { ColumnLayout { - Label { + Lbl.Body { text: qsTr("Password *") - font { - family: Bootstrap - .bodyFont.family - weight: Bootstrap - .bodyFont.weight - pointSize: Bootstrap - .bodyFont - .pointSize - } } Rectangle { @@ -170,17 +139,8 @@ Flickable { ColumnLayout { - Label { + Lbl.Body { text: qsTr("Confirm Password *") - font { - family: Bootstrap - .bodyFont.family - weight: Bootstrap - .bodyFont.weight - pointSize: Bootstrap - .bodyFont - .pointSize - } } Rectangle { @@ -256,16 +216,8 @@ Flickable { RowLayout { Layout.alignment: Qt.AlignHCenter - Label { + Lbl.Body { text: qsTr("Already have an account?") - font { - family: Bootstrap.bodyFont - .family - weight: Bootstrap.bodyFont - .weight - pointSize: Bootstrap.bodyFont - .pointSize - } } Text { |