summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-27 16:40:50 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-27 16:40:50 +0700
commit3fd845a90e86c089a310feca52b6516bac9e538d (patch)
tree6ac0f90a19dac156613fe971c537dc0b287d90fd
parent6b7c34f641015de08f8d302ca85c49b014358545 (diff)
remove laterButton
-rw-r--r--pages/Email.qml8
-rw-r--r--pages/EmailForm.ui.qml37
2 files changed, 3 insertions, 42 deletions
diff --git a/pages/Email.qml b/pages/Email.qml
index 05ecb45..c7c375f 100644
--- a/pages/Email.qml
+++ b/pages/Email.qml
@@ -9,10 +9,4 @@ EmailForm {
appWindow.logIn("62" + phoneTextField.text, passwordTextField.text)
}
}
-
- laterButton {
- onClicked: {
- stackView.pop()
- }
- }
-}
+} \ No newline at end of file
diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml
index 4aa692c..5c0581d 100644
--- a/pages/EmailForm.ui.qml
+++ b/pages/EmailForm.ui.qml
@@ -12,8 +12,6 @@ Rectangle {
property alias emailTextField: emailTextField
property alias passwordTextField: passwordTextField
property alias loginButton: loginButton
- property alias laterButton: laterButton
-
Label {
x: 16
y: 398
@@ -72,7 +70,7 @@ Rectangle {
text: qsTr("Masuk")
anchors.right: parent.right
anchors.rightMargin: 16
- anchors.bottom: laterButton.top
+ anchors.bottom: parent.bottom
anchors.bottomMargin: 16
anchors.left: parent.left
anchors.leftMargin: 16
@@ -89,38 +87,7 @@ Rectangle {
background: Rectangle {
opacity: enabled ? 1.0 : 0.3
- color: laterButton.down ? "#6d22e9" : "#4F12DA"
- radius: 6
- }
- }
-
- Button {
- id: laterButton
- x: 16
- y: 566
- height: 36
- text: qsTr("Nanti saja")
- anchors.right: parent.right
- anchors.rightMargin: 16
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 16
- anchors.left: parent.left
- anchors.leftMargin: 16
-
- contentItem: Text {
- text: laterButton.text
- color: "#6d22e9"
- font.pointSize: 14
- font.family: "Google Sans"
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- elide: Text.ElideRight
- }
- background: Rectangle {
- opacity: enabled ? 0.3 : 1.0
- color: laterButton.down ? "#6d22e9" : "#fff"
- border.color: "#6d22e9"
- border.width: 1
+ color: loginButton.down ? "#6d22e9" : "#4F12DA"
radius: 6
}
}