diff options
| -rw-r--r-- | pages/EmailForm.ui.qml | 34 | 
1 files changed, 7 insertions, 27 deletions
| diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml index 9b1bea2..ce5a990 100644 --- a/pages/EmailForm.ui.qml +++ b/pages/EmailForm.ui.qml @@ -1,6 +1,7 @@  import QtQuick 2.12  import QtQuick.Layouts 1.3  import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12  Rectangle {      id: rectangle @@ -73,47 +74,26 @@ Rectangle {          anchors.left: parent.left          anchors.leftMargin: 16          Layout.maximumHeight: 56 - -        background: Rectangle { -            color: emailTextField.enabled ? "#f4f4f4" : "#353637" -            anchors.verticalCenter: parent.verticalCenter -            implicitHeight: 56 -            radius: 6 -        }      }      Button {          id: loginButton -        x: 34 -        y: 278 -        width: 296 -        height: 36          text: qsTr("Next") +        font.family: "Google Sans"          anchors.right: parent.right          anchors.rightMargin: 16          anchors.bottom: parent.bottom          anchors.bottomMargin: 16          anchors.left: parent.left          anchors.leftMargin: 16 - -        contentItem: Text { -            text: loginButton.text -            color: "#FFF" -            font.pointSize: 14 -            font.family: "Google Sans" -            horizontalAlignment: Text.AlignHCenter -            verticalAlignment: Text.AlignVCenter -            elide: Text.ElideRight -        } - -        background: Rectangle { -            opacity: enabled ? 1.0 : 0.3 -            color: loginButton.down ? "#6d22e9" : "#4F12DA" -            radius: 6 -        } +        highlighted: true +        Material.accent: Material.primary      }  } + + +  /*##^## Designer {      D{i:0;autoSize:true;height:480;width:640}  } |