summaryrefslogtreecommitdiff
path: root/pages/PasswordForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/PasswordForm.ui.qml')
-rw-r--r--pages/PasswordForm.ui.qml15
1 files changed, 5 insertions, 10 deletions
diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml
index c895d72..01d8113 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
@@ -22,21 +23,15 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 0
- Button {
+ RoundButton {
id: backButton
+ flat: true
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
- anchors.leftMargin: 8
display: AbstractButton.IconOnly
icon.name: "back-icon"
icon.source: "/assets/arrow-back-24px.svg"
icon.color: "transparent"
-
- background: Rectangle {
- opacity: enabled ? 1.0 : 0.3
- color: backButton.down ? "#ddd" : "#fff"
- radius: 6
- }
}
}
@@ -77,7 +72,7 @@ Rectangle {
echoMode: TextInput.Password
}
- Button {
+ RoundButton {
id: createPassButton
x: 34
y: 278
@@ -91,7 +86,7 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: 16
highlighted: true
- Material.accent: Material.primary
+ Material.background: Material.primary
}
}