diff options
-rw-r--r-- | LoginForm.ui.qml | 2 | ||||
-rw-r--r-- | pages/EmailForm.ui.qml | 2 | ||||
-rw-r--r-- | pages/Password.qml | 8 | ||||
-rw-r--r-- | pages/PasswordForm.ui.qml | 3 |
4 files changed, 12 insertions, 3 deletions
diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index b0c6e0a..085fcbd 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -24,7 +24,7 @@ Rectangle { anchors.leftMargin: 16 Layout.fillWidth: true highlighted: true - Material.accent: Material.primary + Material.background: Material.primary } Button { diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml index d8f570c..0ac5bbf 100644 --- a/pages/EmailForm.ui.qml +++ b/pages/EmailForm.ui.qml @@ -88,7 +88,7 @@ Rectangle { anchors.left: parent.left anchors.leftMargin: 16 highlighted: true - Material.accent: Material.primary + Material.background: Material.primary } } diff --git a/pages/Password.qml b/pages/Password.qml index e1fc168..7cd3d16 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -1,4 +1,12 @@ import QtQuick 2.12 +import id.co.darapsa.kelakon.user 0.1 PasswordForm { + width: stackView.width + height: stackView.height + backButton { + onClicked: { + stackView.pop() + } + } } diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index c895d72..b1132ef 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -8,6 +8,7 @@ Rectangle { color: "#fff" border.width: 0 + property alias backButton: backButton property alias passTextField: passTextField property alias createPassButton: createPassButton @@ -91,7 +92,7 @@ Rectangle { anchors.left: parent.left anchors.leftMargin: 16 highlighted: true - Material.accent: Material.primary + Material.background: Material.primary } } |